/* TLT 3D Design System Overrides */
:root {
    --tlt-primary: #b8860b;
    --tlt-secondary: #1a2b47;
    --tlt-shadow: 0 10px 20px rgba(0,0,0,0.25);
    --tlt-border: 2px solid #000;
    --tlt-hover-lift: -2px;
    --menu-gap: 20px;
}

/* Global 3D Effects */
.btn, button {
    box-shadow: var(--tlt-shadow);
    border: var(--tlt-border);
    transition: all 0.2s ease;
}

.btn:hover, button:hover {
    transform: translateY(var(--tlt-hover-lift));
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Card Elements */
.card, .dashboard-link-card, .stat-card, .tool-card {
    box-shadow: var(--tlt-shadow);
    border: var(--tlt-border);
    transition: all 0.2s ease;
}

.card:hover, .dashboard-link-card:hover, .stat-card:hover, .tool-card:hover {
    transform: translateY(var(--tlt-hover-lift));
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Sidebar Menu Spacing - 20px gaps */
.sidebar ul > li,
.sidebar .menu > li,
.sidebar nav ul > li,
.sidebar-nav-item {
    margin-bottom: var(--menu-gap, 20px) !important;
    border-bottom: none !important;
}

.sidebar ul > li:last-child,
.sidebar .menu > li:last-child,
.sidebar nav ul > li:last-child,
.sidebar-nav-item:last-child {
    margin-bottom: 0 !important;
}

/* Enhanced sidebar styling with 3D effects */
.sidebar-nav-link {
    border: var(--tlt-border);
    border-radius: 8px;
    margin: 0 10px;
    box-shadow: var(--tlt-shadow);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-nav-link:hover {
    transform: translateY(var(--tlt-hover-lift));
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-left: 3px solid var(--tlt-primary);
}

.sidebar-nav-link.active {
    background: linear-gradient(135deg, var(--tlt-primary), #daa520);
    color: white !important;
    font-weight: bold;
    box-shadow: 0 15px 30px rgba(184, 134, 11, 0.3);
}

/* Form Elements */
input, textarea, select {
    box-shadow: var(--tlt-shadow);
    border: var(--tlt-border);
    transition: all 0.2s ease;
}

input:focus, textarea:focus, select:focus {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Tables and Data */
.table, table {
    box-shadow: var(--tlt-shadow);
    border: var(--tlt-border);
    border-radius: 8px;
    overflow: hidden;
}

/* Modals and Popups */
.modal-content, .popup, .tooltip {
    box-shadow: var(--tlt-shadow);
    border: var(--tlt-border);
}

/* Notifications */
.notification, .alert, .toast {
    box-shadow: var(--tlt-shadow);
    border: var(--tlt-border);
}

/* Premium/Elite Badges */
.premium-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.5);
    border: 1px solid #ffd700;
    margin-left: 8px;
}

.elite-badge {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(139, 92, 246, 0.5);
    border: 1px solid #8b5cf6;
    margin-left: 8px;
}

/* Founding Member Badge */
.founding-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 8px;
    text-shadow: none;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.4);
    border: 1px solid #FFD700;
    text-transform: uppercase;
    animation: foundingGlow 2s ease-in-out infinite alternate;
}

@keyframes foundingGlow {
    0% { box-shadow: 0 2px 4px rgba(255, 215, 0, 0.4); }
    100% { box-shadow: 0 4px 8px rgba(255, 215, 0, 0.8); }
}

/* Member badge variations */
.member-badge.founding {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    position: relative;
}

.member-badge.founding::before {
    content: "👑";
    margin-right: 4px;
}

/* Locked Content Styling */
.locked-content {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.locked-content::after {
    content: "🔒";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 50%;
    box-shadow: var(--tlt-shadow);
}

/* Dashboard and Profile Cards */
.dashboard-grid, .profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-card, .profile-card, .tool-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--tlt-shadow);
    border: var(--tlt-border);
    transition: all 0.2s ease;
}

.dashboard-card:hover, .profile-card:hover, .tool-card:hover {
    transform: translateY(var(--tlt-hover-lift));
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Form Elements Enhancement */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--tlt-secondary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tlt-primary);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

/* Button Enhancements */
.save-btn, .btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    box-shadow: var(--tlt-shadow);
}

.save-btn, .btn-primary {
    background: linear-gradient(135deg, var(--tlt-primary), #daa520);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d, #868e96);
    color: white;
}

.save-btn:hover, .btn-primary:hover, .btn-secondary:hover {
    transform: translateY(var(--tlt-hover-lift));
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}

/* Pricing Display */
.pricing-display {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #b8860b, #daa520);
    color: white;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--tlt-shadow);
    border: var(--tlt-border);
}

.current-price {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.price-warning {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #dc3545;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .dashboard-grid, .profile-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    :root {
        --menu-gap: 15px;
    }
    
    .sidebar-nav-link {
        margin: 0 5px;
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .dashboard-grid, .profile-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .dashboard-card, .profile-card, .tool-card {
        padding: 20px;
    }
    
    .current-price {
        font-size: 36px;
    }
    
    .pricing-display {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .sidebar-nav-link {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .dashboard-card, .profile-card, .tool-card {
        padding: 15px;
    }
    
    .current-price {
        font-size: 28px;
    }
}

/* Consistent Footer Styling - TLT Standard */
.footer, .site-footer, footer {
    background: linear-gradient(135deg, #f4e09c, #daa520) !important;
    color: white;
    border-top: var(--tlt-border);
    box-shadow: var(--tlt-shadow);
    padding: 40px 0;
    margin-top: auto;
}

/* Footer section consistency */
.footer-section h3, .site-footer h3 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul, .site-footer ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a, .site-footer ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all var(--transition-speed, 0.3s);
}

.footer-section ul li a:hover, .site-footer ul li a:hover {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-bottom, .site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}