/**
 * ============================================================
 * JobAgencyLink - Custom System Styles
 * ============================================================
 */

:root {
    /* Color Palette */
    --primary-color: #0f2d59;        /* Professional Deep Navy */
    --primary-hover: #0a1f3d;
    --secondary-color: #0ea5e9;      /* Modern Sky Blue */
    --secondary-hover: #0284c7;
    --success-color: #10b981;        /* Emerald Green */
    
    /* Grays & Neutrals */
    --text-dark: #1e293b;            /* Charcoal */
    --text-muted: #64748b;           /* Slate Gray */
    --bg-light: #f8fafc;             /* Off-White */
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

/* Typography & Links */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}
a:hover {
    color: var(--secondary-hover);
}

/* Custom Navigation */
.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}
.navbar {
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-white);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: #fff;
    padding: 5rem 0;
}

/* Custom Cards */
.card {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Footer styling */
footer {
    background-color: var(--primary-color);
    color: #f8fafc;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
footer a {
    color: #94a3b8;
}
footer a:hover {
    color: #fff;
}

/* Custom Dropdown Overrides */
.no-caret::after {
    display: none !important;
}

/* Red Dot Indicator */
.badge-dot {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border: 1.5px solid var(--bg-white);
    border-radius: 50%;
}

/* Prevent horizontal scrolling globally */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Constrain layout stretching on widescreen displays */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1240px !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

/* Enhanced Hero Section Gradient */
.hero-section {
    background: radial-gradient(circle at top right, #1e3a8a, #0f2d59 70%);
    padding: 6.5rem 0;
    position: relative;
}

/* Glassmorphism search wrapper */
.hero-search-wrapper {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

/* Soft Hover Scaling for Cards */
.hover-scale {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease-in-out;
}
.hover-scale:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 45, 89, 0.08) !important;
}

/* Rounded Cards */
.rounded-4 {
    border-radius: 1rem !important;
}

/* Step Numbers on Onboarding */
.step-number {
    width: 38px;
    height: 38px;
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Category Badge Accent */
.category-icon-bg {
    width: 44px;
    height: 44px;
    background-color: rgba(15, 45, 89, 0.05);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}