/* signup.css */
/* Sign Up Page Specific Styles */

.signup-container {
    max-width: 100%;
    overflow: hidden;
}

.signup-hero {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.signup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 125, 50, 0.7);
}

.signup-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.signup-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.signup-content p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.signup-form-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.signup-form-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.signup-form-container h2 {
    color: #2e7d32;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.signup-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2e7d32;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #2e7d32;
    outline: none;
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 0.8rem;
}

.terms-checkbox, .newsletter-checkbox {
    display: flex;
    align-items: center;
    color: #555;
    font-weight: normal;
}

.terms-checkbox input, .newsletter-checkbox input {
    width: auto;
    margin-right: 8px;
}

.terms-checkbox a, .newsletter-checkbox a {
    color: #2e7d32;
    text-decoration: none;
}

.terms-checkbox a:hover, .newsletter-checkbox a:hover {
    text-decoration: underline;
}

.signup-button {
    width: 100%;
    padding: 14px;
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.signup-button:hover {
    background-color: #1b5e20;
}

.login-link {
    text-align: center;
    margin-top: 25px;
    color: #555;
}

.login-link a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Welcome Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    color: #2e7d32;
    margin-bottom: 20px;
}

.loading-bar {
    width: 100%;
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin: 20px 0;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background-color: #2e7d32;
    border-radius: 5px;
    transition: width 0.3s ease;
}

/* Responsive Design */
@media (max-width: 600px) {
    .signup-hero {
        height: 200px;
    }
    
    .signup-content h1 {
        font-size: 2rem;
    }
    
    .signup-form-container {
        padding: 30px 20px;
    }
    
    .modal-content {
        padding: 20px;
    }
}

/* Error message styles */
.error-message {
    color: #d32f2f;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}