/* Shimanto Bank PLC - Career Portal Custom Styling */

/* Brand Color Variables */
:root {
    --brand-primary: #8E9AAF; /* Slate Blue */
    --brand-secondary: #3D4A5C; /* Dark Contrast Slate */
    --brand-accent: #b44253; /* Soft Peach Rose */
    --brand-accent-hover: #CBC0D3; /* Soft Lavender */
    --text-color: #2E3A47; /* Deep Charcoal Blue */
    --light-bg: #DEE2FF; /* Powder Ice Blue */
    --light-bg-card: #FEEAFA; /* Pink-White Background Accent */
    --border-color: #CBC0D3; /* Soft Lavender Border */
    --success-color: #2ECC71;
    --danger-color: #E74C3C;
    --brand-gradient-primary: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    --brand-gradient-accent: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    --card-shadow: 0 8px 24px -4px rgba(61, 74, 92, 0.08);
    --card-shadow-hover: 0 16px 36px -6px rgba(61, 74, 92, 0.14);
}

/* Base resets & typography */
body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    margin: 0;
    padding: 0;
}

/* Header & Navigation Styling */
.navbar-custom {
    background: var(--brand-gradient-primary);
    /*border-bottom: 4px solid var(--brand-accent);*/
    border-bottom: 4px solid #198754;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    color: white !important;
    display: flex;
    align-items: center;
}

.navbar-custom .navbar-brand img {
    height: 40px;
    margin-right: 12px;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 10px 16px !important;
    transition: all 0.3s ease;
}

.navbar-custom .nav-link:hover, 
.navbar-custom .nav-link.active {
    color: var(--brand-accent) !important;
}

.btn-brand-accent {
    background-color: var(--brand-accent);
    color: white !important;
    font-weight: 600 !important;
    border-radius: 6px;
    padding: 8px 20px !important;
    transition: all 0.25s ease;
}

.btn-brand-accent:hover {
    background-color: var(--brand-accent-hover);
    box-shadow: 0 4px 12px rgba(192, 140, 117, 0.3);
}

/* Hero Section */
.hero-section {
    background: var(--brand-gradient-primary);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(192, 140, 117, 0.15) 0%, transparent 60%);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* Job Circular Card */
.job-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--brand-accent);
}

.job-card-header {
    background: var(--brand-gradient-primary);
    color: white;
    padding: 24px 20px;
}

.job-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.job-card-body {
    padding: 20px;
    flex-grow: 1;
}

.job-meta-item {
    font-size: 0.9rem;
    color: #6C5950;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.job-meta-item i {
    color: var(--brand-accent);
    margin-right: 8px;
    width: 16px;
}

.job-card-footer {
    padding: 16px 20px;
    background-color: #FCFAF7;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Tabbed Resume Builder Form */
.profile-tabs .nav-tabs {
    border-bottom: 3px solid var(--brand-primary);
}

.profile-tabs .nav-link {
    color: #6C5950;
    font-weight: 600;
    border: none;
    border-radius: 0;
    padding: 14px 20px;
    margin-right: 2px;
    transition: all 0.25s ease;
}

.profile-tabs .nav-link:hover {
    background-color: rgba(192, 140, 117, 0.08);
    color: var(--brand-primary);
}

.profile-tabs .nav-link.active {
    background: var(--brand-gradient-primary);
    color: white !important;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.profile-tab-content {
    background: white;
    padding: 40px;
    border-radius: 0 0 12px 12px;
    border: 1px solid var(--border-color);
    border-top: none;
    box-shadow: var(--card-shadow);
}

/* Form Styling */
.form-group label {
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-control, .form-select {
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    background-color: #FCFAF7;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-accent);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(192, 140, 117, 0.25);
}

.form-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-primary);
    border-left: 4px solid var(--brand-accent);
    padding-left: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Progress completion bar */
.profile-progress-wrapper {
    background-color: #EFEBE5;
    border-radius: 8px;
    height: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.profile-progress-bar {
    background: linear-gradient(to right, var(--brand-primary), var(--brand-accent));
    height: 100%;
    transition: width 0.5s ease-in-out;
}

/* CV Preview Styling */
.cv-preview-container {
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    padding: 50px;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 12px;
}

.cv-header-primary {
    background: var(--brand-gradient-primary);
    color: white;
    padding: 28px;
    margin-bottom: 30px;
    border-bottom: 4px solid var(--brand-accent);
    border-radius: 8px 8px 0 0;
}

.cv-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-primary);
    border-bottom: 2px solid var(--brand-accent);
    padding-bottom: 4px;
    margin-top: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Spinner Loaders */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 245, 238, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #E6DFD5;
    border-top: 5px solid var(--brand-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Session timeout warning */
.session-warning-modal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border: 2px solid var(--brand-primary);
    border-top: 6px solid var(--brand-accent);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--card-shadow-hover);
    z-index: 10000;
    max-width: 350px;
    display: none;
}

/* Redesigned Premium Homepage Elements (BRAC Bank Inspired) */

/* Modern Carousel */
.home-carousel {
    /*border-bottom: 5px solid var(--brand-accent);*/
    border-bottom: 5px solid #1a8554;
    box-shadow: 0 10px 30px rgba(61, 74, 92, 0.15);
}

.carousel-slide-content {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
    min-height: 480px;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.carousel-slide-content::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(239, 211, 215, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.carousel-title-highlight {
    color: var(--brand-accent) !important;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.carousel-illustration-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 300px;
}

.carousel-illustration-box .shape-blob {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(239, 211, 215, 0.15);
    width: 280px;
    height: 280px;
    animation: blobby 12s ease-in-out infinite alternate;
}

.carousel-illustration-box i {
    font-size: 8rem;
    color: var(--brand-accent);
    z-index: 2;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
}

@keyframes blobby {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
    100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: rotate(180deg); }
}

/* Floating Search Bar */
.search-overlay-container {
    position: relative;
    margin-top: -40px;
    z-index: 10;
}

.glossy-search-form {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 36px rgba(61, 74, 92, 0.15);
    transition: all 0.3s ease;
}

.glossy-search-form:focus-within {
    background: #ffffff;
    box-shadow: 0 16px 48px rgba(61, 74, 92, 0.22);
}

/* Highlights coverflow styling */
.highlight-card {
    background: var(--light-bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--card-shadow);
    height: 100%;
}

.highlight-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--brand-accent);
    box-shadow: var(--card-shadow-hover);
    background: #ffffff;
}

.highlight-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent-hover) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Why We Are Unique Cards */
.unique-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--brand-primary);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
    padding: 30px 24px;
}

.unique-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-top-color: var(--brand-accent);
    transform: translateY(-4px);
}

.unique-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-secondary);
    margin-bottom: 12px;
}

/* Core Values Badges */
.value-card {
    background: linear-gradient(to bottom, #ffffff 0%, var(--light-bg-card) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    padding: 24px;
    height: 100%;
    text-align: center;
}

.value-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--card-shadow);
}

.value-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand-accent);
    /*color: var(--brand-secondary);*/
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: bold;
}

/* Benefits Tab Panel styling */
.benefits-section {
    background: linear-gradient(to bottom, var(--light-bg) 0%, #ffffff 100%);
    padding: 60px 0;
    border-radius: 24px;
    margin-top: 40px;
}

.benefits-nav .nav-link {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-secondary);
    border: 2px solid var(--border-color) !important;
    border-radius: 30px !important;
    padding: 12px 28px !important;
    margin: 5px;
    transition: all 0.3s ease;
    background-color: white;
}

.benefits-nav .nav-link.active {
    background: var(--brand-gradient-primary) !important;
    color: white !important;
    border-color: var(--brand-secondary) !important;
    box-shadow: 0 4px 12px rgba(61, 74, 92, 0.2);
}

.benefit-detail-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.benefit-bullet-list {
    list-style: none;
    padding-left: 0;
}

.benefit-bullet-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
    font-size: 1rem;
}

.benefit-bullet-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--brand-primary);
    font-size: 1.1rem;
}

/* Section divider header */
.redesigned-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-secondary);
    text-align: center;
    margin-bottom: 10px;
}

.redesigned-section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 40px;
}

.job-header {
    background-color: rgb(180, 66, 83);
}

.custom-primary {
    color: rgb(180, 66, 83) !important;
}

a {
    color: rgb(180, 66, 83);
}

.navbar-brand {
    background: rgba(255, 255, 255, 0.12);
    padding: 8px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.border-custom-primary {
    border-color: rgb(180, 66, 83) !important;
}

.btn-custom-primary {
    --bs-btn-color: rgb(180, 66, 83);
    --bs-btn-border-color: rgb(180, 66, 83);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgb(180, 66, 83);
    --bs-btn-hover-border-color: rgb(180, 66, 83);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgb(180, 66, 83);
    --bs-btn-active-border-color: rgb(180, 66, 83);
    --bs-btn-disabled-color: rgb(180, 66, 83);
    --bs-btn-disabled-border-color: rgb(180, 66, 83);
}

.custom-btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: rgb(180, 66, 83);
    --bs-btn-border-color: rgb(180, 66, 83);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgb(150, 55, 70);
    --bs-btn-hover-border-color: rgb(150, 55, 70);
    --bs-btn-focus-shadow-rgb: 180, 66, 83;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgb(130, 45, 60);
    --bs-btn-active-border-color: rgb(130, 45, 60);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: rgb(180, 66, 83);
    --bs-btn-disabled-border-color: rgb(180, 66, 83);
}

.text-green-primary {
    --bs-text-opacity: 1;
    color: rgb(25 135 84) !important;
}

.text-custom-small {
   font-size:11px;
   color:red;
}