/* WebLinks Directory - Custom Styles */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --secondary-dark: #475569;
    --secondary-light: #94a3b8;
    --success-color: #059669;
    --danger-color: #dc2626;
    --warning-color: #d97706;
    --info-color: #0891b2;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --border-color: #e2e8f0;
    --border-radius: 0.375rem;
    --box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.15s ease-in-out;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* Text color utilities */
.text-primary {
    color: var(--text-primary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Background utilities */
.bg-primary {
    background-color: var(--bg-primary) !important;
}

.bg-secondary {
    background-color: var(--bg-secondary) !important;
}

.bg-tertiary {
    background-color: var(--bg-tertiary) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b91c1c;
}

/* Header Styles */
.navbar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 25%, #ff6348 50%, #ffa502 75%, #ff4757 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 71, 87, 0.6);
    filter: drop-shadow(0 0 15px rgba(255, 71, 87, 0.4));
    padding: 0.25rem 0;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.navbar-brand:hover {
    text-shadow: 0 0 40px rgba(255, 71, 87, 0.8);
    filter: drop-shadow(0 0 25px rgba(255, 71, 87, 0.6));
    transform: scale(1.05);
    animation: gradient-shift 2s ease-in-out infinite;
    background-size: 150% 150%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

.navbar-nav .nav-link {
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 0.6rem !important;
    border-radius: 15px;
    margin: 0 0.15rem;
    color: #ffffff !important;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    text-shadow: 0 0 8px rgba(255,255,255,0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-shadow: 0 0 10px rgba(255,255,255,0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.navbar-dark.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--primary-light) 100%) !important;
    background-size: 200% 200% !important;
    animation: gradient-flow 6s ease infinite;
    box-shadow: var(--box-shadow-lg);
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    min-height: 60px;
}

@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Dropdown menu styling */
.dropdown-menu {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    padding: 0.5rem;
}

.dropdown-item {
    color: white !important;
    border-radius: 10px;
    margin: 0.2rem 0;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.2) !important;
    color: white !important;
    transform: translateX(5px);
}

.dropdown-header {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.dropdown-divider {
    border-color: rgba(255,255,255,0.2);
    margin: 0.5rem 0;
}

/* Search form styling */
.form-control {
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.form-control:focus {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
    color: white;
}

.btn-outline-light {
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    color: #ffffff;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* User menu styling */
.navbar-nav .nav-link i {
    margin-right: 0.5rem;
    font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.05rem 0.1rem;
        border-radius: 12px;
        padding: 0.2rem 0.5rem !important;
        font-size: 0.75rem;
        background: rgba(255, 255, 255, 0.2);
    }
    
    .navbar-dark.bg-primary {
        padding: 0.25rem 0.6rem;
        min-height: 45px;
    }
    
    .form-control {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .btn-outline-light {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Additional colorful elements */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    background-size: 200% 100%;
    animation: rainbow-flow 4s linear infinite;
}

@keyframes rainbow-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Glowing effect for active nav items */
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.7; box-shadow: 0 0 5px rgba(255,107,107,0.5); }
    50% { opacity: 1; box-shadow: 0 0 15px rgba(255,107,107,0.8); }
}

/* Floating particles effect */
.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px, 40px 40px;
    animation: float-particles 20s linear infinite;
    pointer-events: none;
}

@keyframes float-particles {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-50px); }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow-lg);
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section .lead {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

/* Search Bar */
.search-container {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    border-radius: 50px;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    transition: var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.search-btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.search-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--box-shadow);
}

/* Category Cards */
.category-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 200px;
    width: 200px;
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.category-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.category-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.category-card .count {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Category Page Cards */
.card.category-card {
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 120px;
    margin-bottom: 0;
    background: var(--bg-primary);
    box-shadow: var(--box-shadow);
}

.card.category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.card.category-card .card-body {
    padding: 0.75rem;
}

.card.category-card .fa-lg {
    color: var(--primary-color) !important;
    margin-bottom: 0.25rem;
    font-size: 1.5rem !important;
    display: block !important;
    width: 100%;
    text-align: center;
    visibility: visible !important;
    opacity: 1 !important;
}

.card.category-card .fas,
.card.category-card .far,
.card.category-card .fab {
    color: var(--primary-color) !important;
    margin-bottom: 0.25rem;
    font-size: 1.5rem !important;
    display: block !important;
    width: 100%;
    text-align: center;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure FontAwesome icons are always visible */
.fas, .far, .fab {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.card.category-card .card-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.2;
}

.card.category-card .card-text {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.card.category-card .badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
}

.card.category-card .btn {
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
}

/* Mobile responsive adjustments */
@media (max-width: 576px) {
    .card.category-card {
        min-height: 100px;
    }
    
    .card.category-card .card-body {
        padding: 0.5rem;
    }
    
    .card.category-card .card-title {
        font-size: 0.8rem;
    }
    
    .card.category-card .card-text {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
    }
    
    .card.category-card .btn {
        padding: 0.15rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .card.category-card .badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
    }
}

/* Website Cards */
.website-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.website-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.website-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(37, 99, 235, 0.02) 100%);
}

.website-card.sponsored {
    border-color: var(--warning-color);
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(217, 119, 6, 0.02) 100%);
}

.website-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
}

.website-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.website-description {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.website-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.website-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.website-stats {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.website-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-visit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-visit:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--box-shadow);
}

.btn-favorite {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-favorite:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.btn-favorite.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-share {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-share:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--secondary-color);
}

/* Tags */
.website-tags {
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    background: var(--light-color);
    color: var(--secondary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--warning-color);
    color: var(--dark-color);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sponsored-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
}

.sidebar h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-list a:hover {
    color: var(--primary-color);
}

/* Pagination */
.pagination {
    justify-content: center;
    margin-top: 3rem;
}

.page-link {
    color: var(--primary-color);
    border-color: #dee2e6;
}

.page-link:hover {
    color: #b91c1c;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Stats Cards */
.stats-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
}

.stats-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stats-card .label {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Footer */
footer {
    margin-top: 4rem;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .search-container {
        padding: 1rem;
    }
    
    .category-card {
        margin-bottom: 1rem;
        height: 150px;
        width: 150px;
    }
    
    .category-card .icon {
        font-size: 2rem;
    }
    
    .category-card h5 {
        font-size: 0.9rem;
    }
    
    .website-card {
        margin-bottom: 1rem;
    }
    
    .sidebar {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .category-card {
        height: 120px;
        width: 120px;
        padding: 1rem;
    }
    
    .category-card .icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .category-card h5 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .category-card .count {
        font-size: 0.7rem;
    }
    
    .website-actions {
        flex-direction: column;
    }
    
    .btn-visit {
        order: 1;
    }
    
    .btn-favorite,
    .btn-share {
        order: 2;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .sidebar,
    .website-actions,
    .pagination {
        display: none !important;
    }
    
    .website-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for keyboard navigation */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .website-card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Footer Stats */
.stats-info {
    font-size: 0.9rem;
}

.stats-info span {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.stats-info span:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.stats-info strong {
    font-weight: 600;
    color: #fff;
}

.stats-info i {
    font-size: 0.8rem;
}

/* Responsive stats */
@media (max-width: 768px) {
    .stats-info {
        font-size: 0.8rem;
    }
    
    .stats-info span {
        display: block;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .stats-info span:last-child {
        margin-bottom: 0;
    }
}

/* Company Info */
.company-info {
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1rem 0;
}

.company-info p {
    font-size: 0.85rem;
    line-height: 1.4;
}

.company-info strong {
    color: var(--primary-color);
}

/* Analytics Page */
.analytics-guide {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.analytics-status {
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.analytics-status.success {
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.2);
}

.analytics-status.warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.analytics-status.info {
    background: rgba(13, 202, 240, 0.1);
    border: 1px solid rgba(13, 202, 240, 0.2);
}

/* AdSense Styling */
.ad-container {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 1rem 0;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-container .adsbygoogle {
    display: block !important;
    margin: 0 auto;
}

/* Responsive ad containers */
@media (max-width: 768px) {
    .ad-container {
        min-height: 50px;
        padding: 0.5rem;
    }
}

/* AdSense loading state */
.ad-container:empty::before {
    content: "Advertisement";
    color: #6c757d;
    font-size: 0.875rem;
    font-style: italic;
}

/* Optional field styling */
.form-label.text-muted {
    font-weight: 400;
}

.form-label.text-muted span {
    font-size: 0.875rem;
    font-weight: 300;
} 

/* Breadcrumb styling */
.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
} 

/* Form styling to ensure visibility */
.form-control,
.form-select,
.form-label,
.form-text,
.form-check-label {
    color: #212529 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.form-control::placeholder {
    color: #6c757d !important;
}

.form-control:focus {
    color: #212529 !important;
    background-color: #fff !important;
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

.form-select:focus {
    color: #212529 !important;
    background-color: #fff !important;
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

/* Ensure all text elements are visible */
h1, h2, h3, h4, h5, h6,
p, span, div, label, input, textarea, select, option {
    color: inherit !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Card styling */
.card {
    background-color: #fff !important;
    color: #212529 !important;
}

.card-body {
    color: #212529 !important;
}

/* Alert styling */
.alert {
    color: inherit !important;
}

.alert-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}

.alert-success {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
}

/* Button styling */
.btn {
    color: inherit !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-primary {
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

.btn-primary:hover {
    color: #fff !important;
    background-color: #0b5ed7 !important;
    border-color: #0a58ca !important;
}

/* Ensure FontAwesome icons are always visible */
.fas, .far, .fab {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
} 

/* Submit page specific styling */
.container.py-5 {
    background-color: #f8f9fa !important;
}

.container.py-5 .card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.125) !important;
}

.container.py-5 .card-body {
    background-color: #fff !important;
    color: #212529 !important;
}

.container.py-5 .form-label {
    font-weight: 600 !important;
    color: #495057 !important;
    margin-bottom: 0.5rem !important;
}

.container.py-5 .form-control,
.container.py-5 .form-select {
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
    color: #495057 !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    padding: 0.375rem 0.75rem !important;
}

.container.py-5 .form-control:focus,
.container.py-5 .form-select:focus {
    background-color: #fff !important;
    border-color: #86b7fe !important;
    color: #495057 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

.container.py-5 .form-text {
    color: #6c757d !important;
    font-size: 0.875rem !important;
    margin-top: 0.25rem !important;
}

.container.py-5 .text-muted {
    color: #6c757d !important;
}

.container.py-5 .btn-primary {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
}

.container.py-5 .btn-primary:hover {
    background-color: #0b5ed7 !important;
    border-color: #0a58ca !important;
    color: #fff !important;
} 

.form-control,
.form-select,
.form-check-input {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
    padding: 0.75rem 1rem;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.card-title,
.navbar-brand {
    color: var(--text-primary);
    font-weight: 600;
}

/* Cards */
.card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

.card-body {
    color: var(--text-primary);
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: 2px solid;
}

.alert-danger {
    background-color: rgba(220, 38, 38, 0.1);
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.alert-success {
    background-color: rgba(5, 150, 105, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--box-shadow);
} 

/* Hero Section Buttons */
.hero-section .btn-light {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ff4757;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
    text-shadow: none;
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
}

.hero-section .btn-light:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ff3838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-section .btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
} 