/* 梨农登记表单 - 极简高质感样式 */
:root {
    --brand: #4f46e5;
    --brand-dark: #4338ca;
    --surface: #ffffff;
    --bg: #f5f7ff;
    --text: #111827;
    --text-light: #6b7280;
    --border: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    background-image: 
        radial-gradient(at 0% 0%, hsla(243, 75%, 59%, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(243, 75%, 59%, 0.1) 0px, transparent 50%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    color: var(--text);
}

.container {
    width: 100%;
    max-width: 720px;
    background: var(--surface);
    padding: 3rem;
    border-radius: 0.875rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    margin-bottom: 5px;
}

h1 {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3.5rem;
    letter-spacing: -0.05em;
    background: linear-gradient(to right, var(--brand), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 4rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

h3::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.required {
    color: #ef4444;
    margin-left: 2px;
}

input, select, textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 0.875rem;
    font-size: 1.125rem;
    color: var(--text);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: white;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.planting-item {
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 0.875rem;
    margin-bottom: 2.5rem;
    transition: border-color 0.2s;
}

.planting-item:hover {
    border-color: var(--brand);
}

.btn-primary {
    background: var(--brand);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem;
    border: none;
    border-radius: 0.875rem;
    cursor: pointer;
    width: 100%;
    margin-top: 3rem;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 0.875rem;
    cursor: pointer;
    margin: 1rem 0;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.btn-remove {
    background: #fef2f2;
    color: #ef4444;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid #fee2e2;
    border-radius: 0.875rem;
    cursor: pointer;
    margin-top: 1rem;
}

.btn-remove:hover {
    background: #fee2e2;
}

.success-message {
    text-align: center;
    padding: 2rem 0;
    margin-top: 5px;
    margin-bottom: 5px;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    background: #d1fae5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.success-message p {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

@media (max-width: 640px) {
    .container {
        padding: 2rem 1.5rem;
    }
    h1 {
        font-size: 1.75rem;
    }
}
