/* Login Page Styles */

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fffe;
}

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

/* Header Styles */
.header {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(11, 61, 44, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Cardo', serif;
}

.logo a span {
    color: #333333;
    font-size: 24px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.logo-svg {
    height: 2rem;
    width: auto;
    margin-right: 8px;
    transition: filter 0.3s ease;
}

.logo a:hover .logo-svg {
    filter: brightness(1.2);
}

.logo a:hover span {
    color: #666666;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #4B6043;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #FF99C8;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown a i {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown:hover a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 1rem 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #4B6043;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #FF99C8;
    border-left-color: #FF99C8;
    padding-left: 2rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon {
    position: relative;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    transition: color 0.3s ease;
}

.cart-icon:hover {
    color: #4B6043;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #F36F23;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    background: #4B6043;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-btn.active,
.login-btn:hover {
    background: #7EA371;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    margin-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(75, 96, 67, 0.9) 0%, rgba(126, 163, 113, 0.8) 100%),
                url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
    z-index: -1;
}

.hero-content h1 {
    font-family: 'Cardo', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Auth Section */
.auth-section {
    padding: 80px 0;
    min-height: 80vh;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(11, 61, 44, 0.1);
    overflow: hidden;
}

.auth-form {
    padding: 50px 40px;
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h2 {
    font-family: 'Cardo', serif;
    font-size: 2.5rem;
    color: #0B3D2C;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 1rem;
}

/* Form Styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group {
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0B3D2C;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group label i {
    color: #4B6043;
    font-size: 0.8rem;
}

.form-group input {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #E8F4F8;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fffe;
}

.form-group input:focus {
    outline: none;
    border-color: #4B6043;
    background: white;
    box-shadow: 0 0 0 3px rgba(75, 96, 67, 0.1);
}

.form-group input:valid {
    border-color: #7EA371;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #4B6043;
}

.password-strength {
    margin-top: 10px;
}

.strength-bar {
    height: 4px;
    background: #E8F4F8;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    background: linear-gradient(90deg, #F36F23, #7EA371, #4B6043);
    width: 0%;
    transition: width 0.3s ease;
}

.strength-text {
    font-size: 0.8rem;
    color: #666;
}

.error-message {
    color: #F36F23;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-message.show {
    opacity: 1;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
}

.checkbox input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #E8F4F8;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox input:checked + .checkmark {
    background: #4B6043;
    border-color: #4B6043;
}

.checkbox input:checked + .checkmark::after {
    content: '\2713';
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.forgot-password {
    color: #4B6043;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #7EA371;
    text-decoration: underline;
}

.terms-link {
    color: #4B6043;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.submit-btn {
    background: linear-gradient(135deg, #4B6043 0%, #7EA371 100%);
    color: white;
    border: none;
    padding: 18px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(75, 96, 67, 0.3);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Social Login */
.social-login {
    margin-top: 30px;
}

.divider {
    text-align: center;
    margin: 30px 0 20px;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #E8F4F8;
}

.divider span {
    background: white;
    color: #666;
    padding: 0 20px;
    font-size: 0.9rem;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    border: 2px solid #E8F4F8;
    border-radius: 12px;
    background: white;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    border-color: #4B6043;
    transform: translateY(-2px);
}

.social-btn.google i {
    color: #db4437;
}

.social-btn.facebook i {
    color: #3b5998;
}

.switch-form {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #E8F4F8;
}

.switch-btn {
    background: none;
    border: none;
    color: #4B6043;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 5px;
}

.switch-btn:hover {
    color: #7EA371;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E8F4F8;
}

.modal-header h3 {
    font-family: 'Cardo', serif;
    font-size: 1.8rem;
    color: #0B3D2C;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #333;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 3000;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #4B6043;
    padding: 20px;
    min-width: 300px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    border-left-color: #F36F23;
}

.notification.success {
    border-left-color: #7EA371;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-icon {
    font-size: 1.2rem;
}

.notification.success .notification-icon:before {
    content: '\2713';
    color: #7EA371;
}

.notification.error .notification-icon:before {
    content: '\26A0';
    color: #F36F23;
}

.notification-message {
    flex: 1;
    color: #333;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
}

/* Footer Styles */
.footer {
    background: #0B3D2C;
    color: white;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Cardo', serif;
    margin-bottom: 20px;
}

.footer-logo i {
    color: #7EA371;
}

.footer-section p {
    margin-bottom: 25px;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #7EA371;
    transform: translateY(-2px);
}

.footer-section h4 {
    color: #7EA371;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #7EA371;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
    color: #7EA371;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.payment-methods i {
    font-size: 1.5rem;
    color: #7EA371;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        height: 50vh;
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .auth-container {
        margin: 20px;
    }

    .auth-form {
        padding: 40px 30px;
    }

    .auth-header h2 {
        font-size: 2rem;
    }

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

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .social-buttons {
        gap: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .notification {
        right: 20px;
        left: 20px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .auth-form {
        padding: 30px 20px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
}