/* ShopUp Signup Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 a {
    color: #2d8a3e;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2d8a3e;
}

.btn-outline {
    padding: 0.5rem 1.5rem;
    border: 2px solid #2d8a3e;
    border-radius: 5px;
    color: #2d8a3e !important;
}

.btn-outline:hover {
    background-color: #2d8a3e;
    color: white !important;
}

/* Signup Section */
.signup-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.signup-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Benefits Side */
.signup-benefits {
    background: linear-gradient(135deg, #2d8a3e 0%, #1a5c28 100%);
    color: white;
    padding: 3rem;
}

.signup-benefits h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.benefit-item p {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Form Container */
.signup-form-container {
    padding: 3rem;
}

.signup-form-container h2 {
    color: #2d8a3e;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #666;
    margin-bottom: 2rem;
}

/* Form Styles */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: #2d8a3e;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2d8a3e;
}

.form-group small {
    display: block;
    margin-top: 0.3rem;
    color: #666;
    font-size: 0.85rem;
}

/* Checkbox Groups */
.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 0.8rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    cursor: pointer;
}

.checkbox-label span {
    color: #555;
}

.checkbox-label a {
    color: #2d8a3e;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: #2d8a3e;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-submit:hover {
    background-color: #236d31;
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

.login-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.login-link a {
    color: #2d8a3e;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem;
    background-color: #e8f5e9;
    border-radius: 10px;
    margin-top: 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #2d8a3e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.success-message h3 {
    color: #2d8a3e;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #666;
    font-size: 1.1rem;
}

/* Error Message */
.error-message {
    background-color: #ffebee;
    border-left: 4px solid #d32f2f;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.error-icon {
    width: 30px;
    height: 30px;
    background-color: #d32f2f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.error-message p {
    color: #d32f2f;
    margin: 0;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer p {
    margin: 0;
}

.footer a {
    color: #2d8a3e;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .signup-container {
        grid-template-columns: 1fr;
    }

    .signup-benefits {
        padding: 2rem;
    }

    .benefit-list {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .signup-benefits h2 {
        font-size: 2rem;
    }

    .signup-form-container {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .signup-benefits {
        padding: 1.5rem;
    }

    .signup-form-container {
        padding: 1.5rem;
    }

    .signup-form-container h2 {
        font-size: 1.5rem;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #333;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 2000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}