/* * KAAT-S Theme Styles (V2.0 - Consolidated Global, Nav, and Components) * This file contains all variables, global layout styles, navigation, and component-specific styles. */ /* ---------------------------------- */ /* 1. UI Variables and Global Reset */ /* ---------------------------------- */ :root { --kaauh-teal: #00636e; --kaauh-teal-dark: #004a53; --kaauh-light-bg: #f9fbfd; --kaauh-border: #eaeff3; --kaauh-primary-text: #343a40; --kaauh-success: #28a745; --kaauh-info: #17a2b8; --kaauh-danger: #dc3545; --kaauh-warning: #ffc107; --kaauh-border: #eaeff3; } /* Primary Color Overrides */ .text-success { color: var(--kaauh-success) !important; } .text-info { color: var(--kaauh-info) !important; } .text-danger { color: var(--kaauh-danger) !important; } .text-warning { color: var(--kaauh-warning) !important; } .text-primary-theme { color: var(--kaauh-teal) !important; } .bg-primary-theme { background-color: var(--kaauh-teal) !important; } /* Global Layout Control */ .max-width-1600 { max-width: 1600px; margin-right: auto; margin-left: auto; padding-right: var(--bs-gutter-x, 0.75rem); padding-left: var(--bs-gutter-x, 0.75rem); } /* Global Container Padding for main content */ .container-fluid.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; } /* Main content minimum height */ main.container-fluid { min-height: calc(100vh - 200px); padding: 1.5rem 0; } /* ---------------------------------- */ /* 2. Navigation and Header */ /* ---------------------------------- */ /* Top Bar (Contact/Social) */ .top-bar { background-color: white; border-bottom: 1px solid var(--kaauh-border); font-size: 0.825rem; padding: 0.4rem 0; } .top-bar a { text-decoration: none; } .top-bar .social-icons i { color: var(--kaauh-teal); transition: color 0.2s; } .top-bar .social-icons i:hover { color: var(--kaauh-teal-dark); } .top-bar .contact-item { display: flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.5rem; } .top-bar .logo-container img { height: 60px; object-fit: contain; } @media (max-width: 767.98px) { .top-bar { display: none; } } /* Navbar */ .navbar-brand { font-weight: 700; letter-spacing: -0.5px; font-size: 1.25rem; display: flex; align-items: center; gap: 0.5rem; } .navbar-dark { background-color: var(--kaauh-teal) !important; box-shadow: 0 2px 6px rgba(0,0,0,0.12); } /* Ensure the inner container of the navbar stretches to allow max-width-1600 */ .navbar-dark > .container { max-width: 100%; } .nav-link { font-weight: 500; transition: all 0.2s ease; padding: 0.5rem 0.75rem; } .nav-link:hover, .nav-link.active { color: white !important; background: rgba(255,255,255,0.12) !important; border-radius: 4px; } /* Dropdown */ .dropdown-menu { backdrop-filter: blur(4px); background-color: rgba(255, 255, 255, 0.98); border: 1px solid var(--kaauh-border); box-shadow: 0 6px 20px rgba(0,0,0,0.12); border-radius: 8px; padding: 0.5rem 0; min-width: 200px; will-change: transform, opacity; transition: transform 0.2s ease, opacity 0.2s ease; } .dropdown-item { padding: 0.5rem 1.25rem; transition: background-color 0.15s; } .dropdown-item:hover { background-color: var(--kaauh-light-bg); color: var(--kaauh-teal-dark); } /* Language Toggle Button Style */ .language-toggle-btn { color: white !important; background: none !important; border: none !important; display: flex; align-items: center; gap: 0.3rem; padding: 0.5rem 0.75rem !important; font-weight: 500; transition: all 0.2s ease; } .language-toggle-btn:hover { background: rgba(255,255,255,0.12) !important; border-radius: 4px; } /* Profile Avatar */ .profile-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--kaauh-teal); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 0.85rem; transition: transform 0.1s ease; } .navbar-nav .dropdown-toggle:hover .profile-avatar { transform: scale(1.05); } .navbar-nav .dropdown-toggle.p-0:hover { background: none !important; } /* ---------------------------------- */ /* 3. Component Styles (Cards & Forms)*/ /* ---------------------------------- */ .kaauh-card { border: 1px solid var(--kaauh-border); border-radius: 0.75rem; box-shadow: 0 4px 12px rgba(0,0,0,0.06); background-color: white; } /* NEW: Filter Controls Container Style */ .filter-controls { border: 1px solid var(--kaauh-border); border-radius: 0.75rem; box-shadow: 0 4px 12px rgba(0,0,0,0.06); background-color: white; padding: 1.5rem; /* Consistent internal padding */ margin-bottom: 1.5rem; /* Space below filter */ } /* Typography & Headers */ .page-header { color: var(--kaauh-teal-dark); font-weight: 700; } .section-header { color: var(--kaauh-primary-text); font-weight: 600; border-bottom: 2px solid var(--kaauh-border); padding-bottom: 0.5rem; margin-bottom: 1rem; } label { font-weight: 500; color: var(--kaauh-primary-text); font-size: 0.9rem; margin-bottom: 0.25rem; } /* Forms - Default Size */ .form-control, .form-select { border-radius: 0.5rem; border: 1px solid #ced4da; padding: 0.5rem 0.75rem; font-size: 0.9rem; } /* Forms - Compact Size (for modals/tables) */ .form-control-sm, .form-select-sm, .btn-sm { padding: 0.25rem 0.5rem !important; /* Adjusted padding */ font-size: 0.8rem !important; line-height: 1.25 !important; /* Standard small line height */ height: auto !important; } .form-select-sm { padding: 0.25rem 2rem 0.25rem 0.5rem !important; /* Increased right padding for arrow */ font-size: 0.8rem !important; line-height: 1.25 !important; height: auto !important; /* Remove fixed height */ border-radius: 0.5rem; border: 1px solid #ced4da; } /* Scrollable Multiple Select Fix */ .form-group select[multiple] { max-height: 450px; overflow-y: auto; min-height: 250px; padding: 0; } /* Break Times Section Styling (Schedule Interviews) */ .break-time-form { background-color: #f8f9fa; padding: 0.75rem; border-radius: 0.5rem; border: 1px solid var(--kaauh-border); align-items: flex-end; } .note-box { background-color: #fff3cd; border-left: 5px solid var(--kaauh-warning); padding: 1rem; border-radius: 0.25rem; font-size: 0.9rem; margin-bottom: 1rem; } /* Tier Controls (Kept for consistency/future use) */ .tier-controls { background-color: var(--kaauh-border); border-radius: 0.75rem; padding: 1.25rem; margin-bottom: 2rem; border: 1px solid var(--kaauh-border); } .tier-controls .form-row { display: flex; align-items: end; gap: 1rem; } .tier-controls .form-group { flex: 1; margin-bottom: 0; } /* ---------------------------------- */ /* 4. Button Styles (Component Themed)*/ /* ---------------------------------- */ .btn-main-action { background-color: var(--kaauh-teal); border-color: var(--kaauh-teal); color: white; font-weight: 600; transition: all 0.2s ease; } .btn-main-action:hover { background-color: var(--kaauh-teal-dark); border-color: var(--kaauh-teal-dark); box-shadow: 0 4px 8px rgba(0,0,0,0.15); } .btn-main-action.btn-sm { font-weight: 600 !important; } .btn-outline-secondary { color: var(--kaauh-teal-dark); border-color: var(--kaauh-teal); } .btn-outline-secondary:hover { background-color: var(--kaauh-teal-dark); color: white; border-color: var(--kaauh-teal-dark); } .btn-bulk-pass { background-color: var(--kaauh-success); border-color: var(--kaauh-success); color: white; font-weight: 500; } .btn-bulk-pass:hover { background-color: #1e7e34; border-color: #1e7e34; } .btn-bulk-fail { background-color: var(--kaauh-danger); border-color: var(--kaauh-danger); color: white; font-weight: 500; } .btn-bulk-fail:hover { background-color: #bd2130; border-color: #bd2130; } .btn-apply { /* From Job Board table */ background: var(--kaauh-teal); border: none; color: white; padding: 0.45rem 1rem; font-weight: 600; border-radius: 6px; transition: all 0.2s; white-space: nowrap; } .btn-apply:hover { background: var(--kaauh-teal-dark); transform: translateY(-1px); box-shadow: 0 2px 6px rgba(0,0,0,0.15); } /* ---------------------------------- */ /* 5. Table & Footer Styles */ /* ---------------------------------- */ .candidate-table { table-layout: fixed; width: 100%; border-collapse: separate; border-spacing: 0; background-color: white; border-radius: 0.5rem; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.06); } .candidate-table thead { background-color: var(--kaauh-border); } .candidate-table th { padding: 0.75rem; font-weight: 600; color: var(--kaauh-teal-dark); border-bottom: 2px solid var(--kaauh-teal); font-size: 0.9rem; vertical-align: middle; } .candidate-table td { padding: 0.75rem; border-bottom: 1px solid var(--kaauh-border); vertical-align: middle; font-size: 0.9rem; } .candidate-table tbody tr:hover { background-color: #f1f3f4; } .candidate-name { font-weight: 600; color: var(--kaauh-primary-text); } .candidate-details { font-size: 0.8rem; color: #6c757d; } /* Job Table Specific Styles */ .job-table-wrapper { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.06); margin-bottom: 2rem; } .job-table thead th { background: var(--kaauh-teal); color: white; font-weight: 600; padding: 1rem; text-align: center; } .job-table td { padding: 1rem; vertical-align: middle; text-align: center; } .job-table tr:hover td { background-color: rgba(0, 99, 110, 0.03); } /* Table Responsiveness */ @media (max-width: 575.98px) { .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; } .job-table th, .job-table td { white-space: nowrap; font-size: 0.875rem; } } /* Bulk Action Bar (Interview Management) */ .bulk-action-bar { display: flex; align-items: center; gap: 0.5rem; padding-bottom: 0.75rem; margin-bottom: 1rem; border-bottom: 1px solid var(--kaauh-border); } .action-group { display: flex; align-items: center; gap: 0.5rem; } /* Badges (Adapted for Interview Tiers/Status) */ .ai-score-badge { /* Used as an all-purpose secondary badge */ background-color: var(--kaauh-teal-dark) !important; color: white; font-weight: 700; padding: 0.4em 0.8em; border-radius: 0.4rem; font-size: 0.8rem; } .tier-badge { /* Used for Tier labels */ font-size: 0.75rem; padding: 0.125rem 0.5rem; border-radius: 0.5rem; font-weight: 600; margin-left: 0.5rem; display: inline-block; } .tier-1-badge { background-color: var(--kaauh-success); color: white; } .tier-2-badge { background-color: var(--kaauh-warning); color: #856404; } .tier-3-badge { background-color: #d1ecf1; color: #0c5460; } .cd_interview{ color: #00636e; } /* NEW: Application Stage Badges */ .stage-badge { font-size: 0.8rem; padding: 0.2em 0.6em; border-radius: 0.4rem; font-weight: 600; display: inline-block; margin-top: 0.25rem; } .stage-Application { background-color: #e9ecef; color: #495057; } .stage-Screening { background-color: #d1ecf1; color: #0c5460; } .stage-Exam { background-color: #cce5ff; color: #004085; } .stage-Interview { background-color: #fff3cd; color: #856404; } .stage-Offer { background-color: #d4edda; color: #155724; } /* NEW: Applicant Status Badges */ .status-badge { font-size: 0.8rem; padding: 0.2em 0.6em; border-radius: 0.4rem; font-weight: 500; display: inline-block; } .bg-candidate { background-color: var(--kaauh-teal-dark); color: white; } .bg-applicant { background-color: #f8f9fa; color: #495057; border: 1px solid #ced4da; } /* Table Column Width Fixes */ .candidate-table th:nth-child(1) { width: 40px; } .candidate-table th:nth-child(4) { width: 15%; } .candidate-table th:nth-child(5) { width: 80px; } .candidate-table th:nth-child(6) { width: 180px; } /* Footer & Alerts */ .footer { background: var(--kaauh-light-bg); padding: 1.5rem 0; border-top: 1px solid var(--kaauh-border); font-size: 0.9rem; color: #555; } .alert { border: none; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.05); } /* ---------------------------------- */ /* 6. RTL Support */ /* ---------------------------------- */ html[dir="rtl"] { text-align: right; direction: rtl; } html[dir="rtl"] .navbar-brand { flex-direction: row-reverse; } html[dir="rtl"] .dropdown-menu { right: auto; left: 0; } /* RTL Spacing adjustments */ html[dir="rtl"] .me-3 { margin-right: 0 !important; margin-left: 1rem !important; } html[dir="rtl"] .ms-3 { margin-left: 0 !important; margin-right: 1rem !important; } html[dir="rtl"] .me-2 { margin-right: 0 !important; margin-left: 0.5rem !important; } html[dir="rtl"] .ms-2 { margin-left: 0 !important; margin-right: 0.5rem !important; } html[dir="rtl"] .ms-auto { margin-left: 0 !important; margin-right: auto !important; } html[dir="rtl"] .me-auto { margin-right: 0 !important; margin-left: auto !important; } /* ================================================= */ /* 1. THEME VARIABLES AND GLOBAL STYLES */ /* ================================================= */ :root { --kaauh-teal: #00636e; --kaauh-teal-dark: #004a53; --kaauh-border: #eaeff3; --kaauh-primary-text: #343a40; } /* Primary Color Overrides */ .text-primary { color: var(--kaauh-teal) !important; } .text-info { color: #17a2b8 !important; } .text-success { color: #28a745 !important; } .text-secondary { color: #6c757d !important; } .text-kaauh-primary { color: var(--kaauh-primary-text); } /* Custom class for primary text color if needed */ /* ---------------------------------- */ /* 2. Button Styles */ /* ---------------------------------- */ /* Main Action Button Style (Used for Download Resume) */ .btn-main-action { background-color: var(--kaauh-teal); border-color: var(--kaauh-teal); color: white; font-weight: 600; padding: 0.6rem 1.2rem; transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 0.5rem; } .btn-main-action:hover { background-color: var(--kaauh-teal-dark); border-color: var(--kaauh-teal-dark); transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.15); } /* Outlined Button Styles */ .btn-outline-primary { color: var(--kaauh-teal); border-color: var(--kaauh-teal); } .btn-outline-primary:hover { background-color: var(--kaauh-teal); color: white; } .btn-outline-secondary { color: var(--kaauh-teal-dark); border-color: var(--kaauh-teal); } .btn-outline-secondary:hover { background-color: var(--kaauh-teal-dark); color: white; border-color: var(--kaauh-teal-dark); } /* ---------------------------------- */ /* 3. Card/Modal Styles */ /* ---------------------------------- */ /* Card enhancements */ .kaauh-card, .card { border: 1px solid var(--kaauh-border); border-radius: 0.75rem; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.06); background-color: white; } /* Candidate Header Card (The teal header) */ .candidate-header-card { background: linear-gradient(135deg, var(--kaauh-teal), #004d57); color: white; border-radius: 0.75rem 0.75rem 0 0; padding: 1.5rem; box-shadow: 0 4px 10px rgba(0,0,0,0.15); } .candidate-header-card h1 { font-weight: 700; margin: 0; font-size: 1.8rem; } .candidate-header-card .badge { font-size: 0.9rem; padding: 0.4em 0.8em; border-radius: 0.4rem; font-weight: 700; } /* ---------------------------------- */ /* 4. Tab Navigation Styles (Candidate Detail View) */ /* ---------------------------------- */ /* Left Column Tabs (Main Content Tabs) */ .main-tabs { border-bottom: 1px solid var(--kaauh-border); background-color: #f8f9fa; padding: 0 1.25rem; } .main-tabs .nav-link { border: none; border-bottom: 3px solid transparent; color: var(--kaauh-primary-text); font-weight: 500; padding: 0.75rem 1rem; margin-right: 0.5rem; transition: all 0.2s; } .main-tabs .nav-link:hover { color: var(--kaauh-teal); } .main-tabs .nav-link.active { color: var(--kaauh-teal-dark) !important; background-color: white !important; border-bottom: 3px solid var(--kaauh-teal); font-weight: 600; } /* Right Column Card (General styling for tab content if needed) */ .right-column-card .tab-content { padding: 1.5rem 1.25rem; background-color: white; } /* ---------------------------------- */ /* 5. Vertical Timeline Styling */ /* ---------------------------------- */ /* Highlight box for the current stage */ .current-stage { border: 1px solid var(--kaauh-border); background-color: #f0f8ff; /* Light, subtle blue background */ } .current-stage .text-primary { color: var(--kaauh-teal) !important; } .timeline { position: relative; padding-left: 2rem; } .timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 1.25rem; width: 2px; background-color: var(--kaauh-border); } .timeline-item { position: relative; margin-bottom: 2rem; padding-left: 1.5rem; } .timeline-icon { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.8rem; z-index: 10; border: 4px solid white; } .timeline-item:last-child { margin-bottom: 0; } /* Custom Timeline Background Classes for Stages (Using Bootstrap color palette) */ .timeline-bg-applied { background-color: var(--kaauh-teal) !important; } .timeline-bg-exam { background-color: #17a2b8 !important; } .timeline-bg-interview { background-color: #ffc107 !important; } .timeline-bg-offer { background-color: #28a745 !important; } .timeline-bg-rejected { background-color: #dc3545 !important; } .loading { background: linear-gradient(135deg, var(--kaauh-teal), #004d57); color: white; border-radius: 0.75rem 0.75rem 0 0; padding: 1.5rem; box-shadow: 0 4px 10px rgba(0,0,0,0.15); } /* Breadcrumb Styling */ .breadcrumb { background-color: transparent; padding: 0; margin-bottom: 1rem; } .breadcrumb-item + .breadcrumb-item::before { content: ">"; color: var(--kaauh-teal); } /* --- Pagination Base Styles --- */ .pagination .page-link { color: var(--kaauh-teal); /* Teal text for links */ border-color: var(--kaauh-border); /* Light border */ background-color: #fff; font-weight: 500; font-size: 0.9rem; transition: all 0.2s ease-in-out; } /* --- Hover State --- */ .pagination .page-link:hover { color: var(--kaauh-teal-dark); /* Darker teal text on hover */ background-color: var(--kaauh-gray-light); border-color: var(--kaauh-border); z-index: 2; } /* --- Active State (Current Page) --- */ /* This targets the