/* Register page styling */
.form-container {
    max-width: 900px;
    margin: 3rem auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(166, 124, 82, 0.2);
    padding: 3rem 2rem;
}

.register-header {
    text-align: center;
    margin-bottom: 3rem;
}

.register-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    color: #617461;
    margin: 0;
}

.form-intro {
    text-align: center;
    margin: 2rem auto 3rem;
    padding: 0 1rem;
}

.form-intro p {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.3rem;
    line-height: 1.8;
    color: #617461;
    margin: 0;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

legend {
    width: 100%;
}

label {
    display: block;
    margin: 1.2rem 0 0.5rem 0;
    font-weight: 600;
    color: #617461;
    font-size: 1.2rem;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
}

input[type="text"], 
input[type="email"],
select, 
textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #e7d7c1;
    margin-bottom: 12px;
    font-size: 1.1rem;
    box-sizing: border-box;
    background: #f8f6f2;
    transition: border-color 0.3s;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
}

input[type="text"]:focus, 
input[type="email"]:focus,
select:focus, 
textarea:focus {
    border-color: #b7c7b7;
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.guest-entry {
    background: #f8f6f2;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(166, 124, 82, 0.1);
    border: 2px solid #e7d7c1;
}

.guest-entry label {
    margin-top: 0.8rem;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.add-guest-btn,
.remove-guest-btn,
.submit-btn {
    display: inline-block;
    background: #b7c7b7;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 16px 48px;
    font-size: 1.3rem;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(166,124,82,0.15);
    transition: all 0.3s ease;
    letter-spacing: 1px;
    width: 100%;
    margin-top: 1rem;
}

.add-guest-btn:hover,
.submit-btn:hover {
    background: #7c8a7c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166,124,82,0.25);
}

.remove-guest-btn {
    background: #c77c7c;
    margin-top: 1rem;
}

.remove-guest-btn:hover {
    background: #a05a5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166,124,82,0.25);
}

.submit-btn {
    margin-top: 2rem;
    font-size: 1.5rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .form-container {
        margin: 2rem auto;
        padding: 2rem 1.5rem;
    }
    
    .register-title {
        font-size: 3rem;
    }
    
    .form-intro p {
        font-size: 1.2rem;
    }
    
    .guest-entry {
        padding: 1.2rem;
    }
    
    .add-guest-btn,
    .remove-guest-btn {
        font-size: 1.2rem;
        padding: 14px 40px;
    }
    
    .submit-btn {
        font-size: 1.3rem;
        padding: 14px 40px;
    }
}

@media (max-width: 480px) {
    .form-container {
        margin: 1.5rem 0.5rem;
        padding: 1.5rem 1rem;
    }
    
    .register-title {
        font-size: 2.5rem;
    }
    
    .form-intro {
        margin: 1.5rem auto 2rem;
    }
    
    .form-intro p {
        font-size: 1.1rem;
    }
    
    label {
        font-size: 1.1rem;
    }
    
    input[type="text"],
    input[type="email"],
    select,
    textarea {
        font-size: 1rem;
    }
    
    .guest-entry {
        padding: 1rem;
    }
    
    .add-guest-btn,
    .remove-guest-btn {
        font-size: 1.1rem;
        padding: 12px 32px;
    }
    
    .submit-btn {
        font-size: 1.2rem;
        padding: 12px 32px;
    }
}
