/* FastCrawls2026 Custom Theme */
/* Brand Colors */
:root {
    --fc-red: #C82127;
    --fc-red-hover: #A01A1F;
    --fc-red-light: #E6464C;
    --fc-dark: #2C3E50;
    --fc-dark-light: #34495E;
    --fc-gray: #7F8C8D;
    --fc-gray-light: #BDC3C7;
    --fc-gray-lightest: #ECF0F1;
    --fc-white: #FFFFFF;
    --fc-black: #000000;
}

/* Override Bootstrap Primary Colors */
.btn-primary {
    background-color: var(--fc-red);
    border-color: var(--fc-red);
    color: var(--fc-white);
}

.btn-primary:hover {
    background-color: var(--fc-red-hover);
    border-color: var(--fc-red-hover);
}

.btn-outline-primary {
    color: var(--fc-red);
    border-color: var(--fc-red);
}

.btn-outline-primary:hover {
    background-color: var(--fc-red);
    border-color: var(--fc-red);
    color: var(--fc-white);
}

/* Links */
a {
    color: var(--fc-dark);
    text-decoration: none;
}

a:hover {
    color: var(--fc-red);
}

/* Top Navigation */
.top-navbar {
    background-color: var(--fc-white);
    border-bottom: 1px solid var(--fc-gray-lightest);
    padding: 0rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.top-navbar .logo-container {
    max-width: 150px;
}

.top-navbar .logo {
    max-height: 50px;
    max-width: 150px;
}

.top-navbar .nav-link {
    color: var(--fc-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

.top-navbar .nav-link:hover,
.top-navbar .nav-link.active {
    color: var(--fc-red);
}

/* User Dropdown */
.user-dropdown .dropdown-toggle {
    color: var(--fc-dark);
    font-weight: 500;
    cursor: pointer;
}

.user-dropdown .dropdown-toggle:hover {
    color: var(--fc-red);
}

.user-dropdown .dropdown-menu {
    border: 1px solid var(--fc-gray-lightest);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Login Icon */
.login-icon {
    color: var(--fc-dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.login-icon:hover {
    color: var(--fc-red);
}

/* Left Sidebar */
.left-sidebar {
    background-color: var(--fc-gray-lightest);
    border-right: 1px solid var(--fc-gray-light);
    min-height: calc(100vh - 70px);
    width: 250px;
    padding: 1.5rem 1rem;
}

.left-sidebar .nav-link {
    color: var(--fc-dark);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.left-sidebar .nav-link:hover {
    background-color: var(--fc-white);
    color: var(--fc-red);
}

.left-sidebar .nav-link.active {
    background-color: var(--fc-red);
    color: var(--fc-white);
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 2rem;
    background-color: var(--fc-white);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--fc-dark) 0%, var(--fc-dark-light) 100%);
    color: var(--fc-white);
    padding: 4rem 2rem;
    border-radius: 0.5rem;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-section .btn-primary {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Cards */
.card {
    border: 1px solid var(--fc-gray-lightest);
    border-radius: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.card-icon {
    color: var(--fc-red);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: var(--fc-dark);
    color: var(--fc-white);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer a {
    color: var(--fc-gray-light);
}

.footer a:hover {
    color: var(--fc-white);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .left-sidebar {
        position: fixed;
        left: -250px;
        transition: left 0.3s;
        z-index: 999;
    }

    .left-sidebar.show {
        left: 0;
    }

    .top-navbar {
        padding: 0.75rem 1rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }
}

/* Layout Container */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrapper {
    display: flex;
    flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--fc-dark);
}

/* Accent Elements */
.text-accent {
    color: var(--fc-red);
}

.bg-accent {
    background-color: var(--fc-red);
}

.border-accent {
    border-color: var(--fc-red);
}
