/* =============================================
   AUTHENTICATION PAGES STYLES
   ============================================= */

.auth-section {
    padding: 80px 0;
    background: #fafafa;
    min-height: calc(100vh - 400px);
}

.auth-card {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px 40px;
    border: 2px solid #e5e5e5;
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0a0a0a;
}

.auth-header p {
    color: #666;
    font-size: 0.95rem;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    margin-bottom: 25px;
    border: 2px solid;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.alert i {
    font-size: 1.1rem;
}

.alert-error {
    background: #fff5f5;
    border-color: #e74c3c;
    color: #c0392b;
}

.alert-success {
    background: #f0f9f5;
    border-color: #00b96b;
    color: #00894f;
}

/* Auth Form */
.auth-form {
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.form-group label i {
    color: #00b96b;
    width: 16px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    border: 2px solid #e5e5e5;
    background: #ffffff;
    color: #333;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #00b96b;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #999;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #555;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.forgot-link {
    font-size: 0.875rem;
    color: #00b96b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #009959;
}

/* Form Checkbox */
.form-checkbox {
    margin-bottom: 25px;
}

.form-checkbox .checkbox-label {
    align-items: flex-start;
}

.form-checkbox .checkbox-label span {
    line-height: 1.5;
}

.form-checkbox a {
    color: #00b96b;
    text-decoration: none;
    font-weight: 500;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: #00b96b;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: #009959;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 185, 107, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    padding-top: 25px;
    border-top: 2px solid #e5e5e5;
}

.auth-footer p {
    font-size: 0.9rem;
    color: #666;
}

.auth-footer a {
    color: #00b96b;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Social Login */
.social-login {
    margin-top: 30px;
}

.divider {
    position: relative;
    text-align: center;
    margin: 30px 0 25px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e5e5;
}

.divider span {
    position: relative;
    background: #ffffff;
    padding: 0 15px;
    font-size: 0.85rem;
    color: #999;
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    border: 2px solid #e5e5e5;
    background: #ffffff;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover:not(:disabled) {
    border-color: #00b96b;
    color: #00b96b;
}

.social-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.social-btn i {
    font-size: 1.1rem;
}

.coming-soon-text {
    text-align: center;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #999;
}

/* =============================================
   ACCOUNT PAGE STYLES
   ============================================= */

.account-section {
    padding: 60px 0;
    background: #fafafa;
    min-height: calc(100vh - 400px);
}

.account-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Account Sidebar */
.account-sidebar {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.user-info {
    padding: 30px;
    text-align: center;
    border-bottom: 2px solid #e5e5e5;
}

.user-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #f0f9f5;
    border: 3px solid #00b96b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar i {
    font-size: 2rem;
    color: #00b96b;
}

.user-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #0a0a0a;
}

.user-info p {
    font-size: 0.85rem;
    color: #666;
}

/* Account Navigation */
.account-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
    border-bottom: 2px solid #e5e5e5;
    transition: all 0.3s ease;
}

.account-nav a:last-child {
    border-bottom: none;
}

.account-nav a i {
    width: 20px;
    color: #999;
    transition: color 0.3s ease;
}

.account-nav a:hover,
.account-nav a.active {
    background: #f9f9f9;
    color: #00b96b;
}

.account-nav a:hover i,
.account-nav a.active i {
    color: #00b96b;
}

.account-nav .logout-link {
    color: #e74c3c;
}

.account-nav .logout-link:hover {
    background: #fff5f5;
    color: #c0392b;
}

.account-nav .logout-link i {
    color: #e74c3c;
}

/* Account Content */
.account-content {
    background: #ffffff;
    padding: 40px;
    border: 2px solid #e5e5e5;
}

.account-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #0a0a0a;
}

.account-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #0a0a0a;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    padding: 25px;
    background: #f9f9f9;
    border: 2px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #00b96b;
    transform: translateY(-2px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: #f0f9f5;
    border: 2px solid #00b96b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.5rem;
    color: #00b96b;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #0a0a0a;
}

.stat-info p {
    font-size: 0.85rem;
    color: #666;
}

/* Recent Orders */
.recent-orders {
    margin-bottom: 40px;
}

.orders-table {
    overflow-x: auto;
    border: 2px solid #e5e5e5;
}

.orders-table table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    padding: 15px;
    background: #f9f9f9;
    text-align: left;
    font-weight: 600;
    color: #0a0a0a;
    font-size: 0.875rem;
    border-bottom: 2px solid #e5e5e5;
}

.orders-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.875rem;
    color: #555;
}

.orders-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #ffeaa7;
    color: #d68910;
}

.status-confirmed,
.status-processing {
    background: #dfe6f7;
    color: #3867d6;
}

.status-shipped {
    background: #cfe9ff;
    color: #0984e3;
}

.status-delivered {
    background: #d5f4e6;
    color: #00b894;
}

.status-cancelled {
    background: #ffe0e0;
    color: #d63031;
}

.btn-view {
    padding: 6px 16px;
    background: #ffffff;
    color: #00b96b;
    border: 2px solid #00b96b;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: #00b96b;
    color: #ffffff;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: #e5e5e5;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0a0a0a;
}

.empty-state p {
    color: #999;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: #00b96b;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #009959;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 185, 107, 0.3);
}

/* Account Details */
.account-details {
    padding: 30px;
    background: #f9f9f9;
    border: 2px solid #e5e5e5;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-item strong {
    font-size: 0.85rem;
    color: #666;
}

.detail-item span {
    font-size: 0.95rem;
    color: #0a0a0a;
    font-weight: 500;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #ffffff;
    color: #0a0a0a;
    border: 2px solid #e5e5e5;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #00b96b;
    color: #00b96b;
}

/* Responsive Design */
@media (max-width: 992px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar {
        position: static;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .auth-card {
        padding: 40px 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        grid-template-columns: 1fr;
    }
    
    .account-content {
        padding: 25px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   SETTINGS & ORDERS PAGE ADDITIONAL STYLES
   ============================================= */

.settings-section {
    background: #f9f9f9;
    border: 2px solid #e5e5e5;
    padding: 30px;
    margin-bottom: 30px;
}

.settings-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #0a0a0a;
}

.settings-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.settings-form .form-group {
    margin-bottom: 20px;
}

.settings-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.settings-form input {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    border: 2px solid #e5e5e5;
    background: #ffffff;
    color: #333;
    transition: all 0.3s ease;
}

.settings-form input:focus {
    outline: none;
    border-color: #00b96b;
}

.settings-form select {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    border: 2px solid #e5e5e5;
    background: #ffffff;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
}

.settings-form select:focus {
    outline: none;
    border-color: #00b96b;
}

.section-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.danger-zone {
    background: #fff5f5;
    border-color: #e74c3c;
}

.danger-zone h2 {
    color: #e74c3c;
}

.danger-zone p {
    margin-bottom: 20px;
    color: #666;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #e74c3c;
    color: #ffffff;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
}

.order-card:hover {
    border-color: #00b96b;
    box-shadow: 0 2px 8px rgba(0, 185, 107, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #e5e5e5;
}

.order-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #0a0a0a;
}

.order-date {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.order-date i {
    margin-right: 5px;
}

.order-body {
    padding: 20px;
}

.order-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-item strong {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.detail-item span {
    font-size: 0.95rem;
    color: #0a0a0a;
}

.order-total {
    font-weight: 700;
    color: #00b96b;
    font-size: 1.1rem !important;
}

.order-notes {
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-left: 3px solid #00b96b;
}

.order-notes strong {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.order-notes p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

.order-footer {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-top: 2px solid #e5e5e5;
    background: #f9f9f9;
}

.btn-view-order {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #00b96b;
    color: #ffffff;
    border: 2px solid #00b96b;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-order:hover {
    background: #009959;
    transform: translateY(-2px);
}

.btn-cancel-order {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ffffff;
    color: #e74c3c;
    border: 2px solid #e74c3c;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel-order:hover {
    background: #e74c3c;
    color: #ffffff;
}

@media (max-width: 768px) {
    .settings-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .order-details-grid {
        grid-template-columns: 1fr;
    }
    
    .order-footer {
        flex-direction: column;
    }
    
    .btn-view-order,
    .btn-cancel-order {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .auth-section {
        padding: 40px 0;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
    
    .auth-header h1 {
        font-size: 1.5rem;
    }
}
