@import 'buttons.css';
:root {
    --primary-blue: #4F98FF;
    --success-green: #34D399;
    --warning-orange: #FBBF24;
    --danger-red: #EF4444;
    --light-gray: #f6f6f7;
    --border-gray: #E2E8F0;
    --gray-light: #F4F6F8;
    --gray-medium: #EDF2F7;
    --border-radius: 8px;
}

body {
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--gray-medium) 100%);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #64748B;
    line-height: 1.6;
}


/* Custom Container Fluid */

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 1450px) {
    .main-container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .main-container {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    /* font-weight: 600; */
    color: #1E293B;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem !important;
    font-weight: 500;
}

.text-muted {
    color: #94A3B8 !important;
    font-size: 14px;
}

small,
.small {
    font-size: 12px !important;
    color: #94A3B8;
}


/* Company Switcher Styles */

.btn-company-switcher {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2a3547;
    transition: all 0.2s ease;
}

.btn-company-switcher:hover {
    background: #ffffff;
    border-color: rgb(1, 173, 201);
    color: rgb(1, 173, 201);
}

.btn-company-switcher i {
    color: rgb(1, 173, 201);
}

.navbar-custom {
    background: #FFFFFF;
    padding: 1.25rem 0;
}

.nav-pills .nav-link {
    color: #64748B;
    border-radius: var(--border-radius);
    margin-right: 1rem;
    font-weight: 500;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-blue);
    color: white;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    background: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
}


/* Language Dropdown - Ana sayfa stili */

.language-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-btn {
    display: flex;
    margin: 0.25rem;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: 2px solid #0989ae;
    color: #0989ae;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.lang-dropdown-btn:hover {
    background: rgba(34, 211, 238, 0.05);
    border-color: #06b6d4;
    color: #06b6d4;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(34, 211, 238, 0.2);
}

.lang-dropdown-btn i:first-child {
    font-size: 0.875rem;
}

.lang-dropdown-btn i:last-child {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.language-dropdown:hover .lang-dropdown-btn i:last-child {
    transform: rotate(180deg);
}


/* Dropdown Menu */

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem;
}

.language-dropdown:hover .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0.25rem;
}

.lang-option:hover {
    color: #22d3ee !important;
    text-decoration: none;
}

.lang-option.active {
    background: rgba(34, 211, 238, 0.15);
    color: #22d3ee;
    border: 2px solid #22d3ee;
    text-shadow: 1px 1px 2px rgba(255, 182, 193, 0.3);
}

.lang-option:first-child {
    border-radius: 8px;
}

.lang-option:last-child {
    border-radius: 8px;
}

.lang-option img {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.language-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
}

.lang-btn img {
    display: none;
}

.lang-btn:hover {
    border-color: rgb(1, 173, 201);
    color: rgb(1, 173, 201);
    text-decoration: none;
}

.lang-btn.active {
    background: #1a365d;
    border-color: #1a365d;
    color: white;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        margin-bottom: 1rem;
    }
    .nav-pills .nav-link {
        margin-right: 0;
        margin-bottom: 0.5rem;
        padding: 0.5rem 1rem;
    }
    .search-input {
        width: 100% !important;
        margin-bottom: 0.5rem;
    }
    .d-flex.align-items-center.flex-column.flex-lg-row {
        align-items: stretch !important;
    }
    .navbar-collapse {
        border-top: 1px solid var(--border-gray);
        margin-top: 1rem;
        padding-top: 1rem;
    }
}

.search-input {
    background-color: var(--light-gray);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    width: 300px;
}

.dashboard-card {
    background: #FFFFFF;
    border-radius: var(--border-radius);
    border: none;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
}


/* Huge Icons */

.icon-sm {
    font-size: 1.25rem;
}

.icon-md {
    font-size: 1.5rem;
}

.icon-lg {
    font-size: 2rem;
}

.icon-xl {
    font-size: 2.5rem;
}

.icon-xxl {
    font-size: 3rem;
}


/* Statistics Cards */

.stat-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    font-size: 1.3rem;
    color: white;
}

.stat-card.stat-1 .stat-icon {
    background: linear-gradient(135deg, #FF8A80 0%, #FF7043 100%);
}

.stat-card.stat-2 .stat-icon {
    background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 100%);
}

.stat-card.stat-3 .stat-icon {
    background: linear-gradient(135deg, #81C784 0%, #66BB6A 100%);
}

.stat-card.stat-4 .stat-icon {
    background: linear-gradient(135deg, #BA68C8 0%, #AB47BC 100%);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 500;
    color: #1E293B;
    line-height: 1;
    margin-bottom: 0.375rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    color: #64748B;
    text-transform: none;
    letter-spacing: 0;
}

.task-card {
    background: #FFFFFF;
    border-radius: var(--border-radius);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.task-card:hover {
    transform: translateY(-2px);
}

.progress-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.attendance-table {
    font-size: 0.9rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

.status-ontime {
    background-color: #DBEAFE;
    color: var(--primary-blue);
}

.status-late {
    background-color: #FEE2E2;
    color: var(--danger-red);
}

.heatmap-cell {
    width: 25px;
    height: 25px;
    margin: 1px;
    border-radius: 4px;
}

.heatmap-1 {
    background-color: #E0F2FE;
}

.heatmap-2 {
    background-color: #BAE6FD;
}

.heatmap-3 {
    background-color: #7DD3FC;
}

.heatmap-4 {
    background-color: #38BDF8;
}

.heatmap-5 {
    background-color: #0EA5E9;
}

.job-level-bar {
    height: 20px;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.job-level-intern {
    background: linear-gradient(90deg, #34D399, #10B981);
}

.job-level-staff {
    background: linear-gradient(90deg, #3B82F6, #1D4ED8);
}

.job-level-ceo {
    background: linear-gradient(90deg, #8B5CF6, #7C3AED);
}


/* Calendar Styles */

.calendar-container {
    background: #FFFFFF;
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.calendar-nav-btn {
    background: none;
    border: none;
    color: #64748B;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.calendar-nav-btn:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

.calendar-month-year {
    font-weight: 600;
    color: #1F2937;
    font-size: 1rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day-header {
    text-align: center;
    padding: 0.4rem 0.2rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #6B7280;
    background-color: var(--light-gray);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    min-height: 32px;
    background-color: #F4F6F8;
    color: #64748B;
}

.calendar-day:hover {
    background-color: var(--light-gray);
}

.calendar-day.other-month {
    color: #D1D5DB;
}

.calendar-day.today {
    background-color: #5d87ff;
    color: white;
    font-weight: 600;
}

.calendar-day.selected {
    background-color: #DBEAFE;
    color: var(--primary-blue);
    font-weight: 600;
}

.calendar-day.has-appointments {
    background-color: #efefef;
    color: #374151;
    font-weight: 500;
    position: relative;
}

.appointment-count-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background-color: #f97316;
    color: white;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 1px 4px;
    min-width: 12px;
    text-align: center;
    line-height: 1.2;
}

.attendance-info {
    font-size: 0.7rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: var(--light-gray);
    border-radius: 6px;
    text-align: left;
}

.attendance-summary {
    text-align: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-gray);
}

.appointments-section {
    margin-top: 0.75rem;
}

.appointments-header {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.appointment-item {
    background: white;
    border-radius: 6px;
    padding: 0.5rem;
    margin-bottom: 0.4rem;
    border-left: 3px solid var(--primary-blue);
    font-size: 0.65rem;
    line-height: 1.3;
}

.appointment-item.meeting {
    border-left-color: #10B981;
}

.appointment-item.interview {
    border-left-color: #F59E0B;
}

.appointment-item.training {
    border-left-color: #8B5CF6;
}

.appointment-time {
    font-weight: 600;
    color: var(--primary-blue);
}

.appointment-title {
    font-weight: 500;
    color: #374151;
    margin: 0.2rem 0;
}

.appointment-participants {
    color: #6B7280;
    font-size: 0.6rem;
}

.appointment-count {
    background: var(--primary-blue);
    color: white;
    border-radius: 10px;
    padding: 0.1rem 0.4rem;
    font-size: 0.6rem;
    font-weight: 500;
}

.no-appointments {
    text-align: center;
    color: #9CA3AF;
    font-style: italic;
    padding: 1rem 0;
}


/* Mobile Sidebar Styles */

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-sidebar.show {
    right: 0;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748B;
    cursor: pointer;
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav .nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #64748B;
    text-decoration: none;
    font-weight: 500;
    border-right: 4px solid transparent;
    transition: all 0.2s ease;
}

.sidebar-nav .nav-link:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

.sidebar-nav .nav-link.active {
    background-color: var(--primary-blue);
    color: white;
    border-right: 4px solid #2563EB;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

.sidebar-overlay.show {
    display: block;
}

@media (min-width: 992px) {
    .mobile-sidebar {
        display: none;
    }
}


/* Footer Styles */

.footer {
    background: #FFFFFF;
    border-top: 1px solid var(--border-gray);
    margin-top: 4rem;
}

.footer h6 {
    color: #1E293B;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links {
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #64748B;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-blue);
    transform: translateX(4px);
}

.footer-contact {
    padding-left: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    color: #64748B;
}

.footer-contact i {
    color: var(--primary-blue);
    margin-top: 2px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-gray);
}

.footer-link-bottom {
    color: #64748B;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link-bottom:hover {
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .footer .row>div {
        text-align: center;
    }
    .footer-links,
    .footer-contact {
        margin-bottom: 2rem;
    }
    .social-links {
        justify-content: center;
    }
    .footer-bottom .row>div {
        text-align: center !important;
    }
    .footer-bottom .col-md-6:last-child {
        margin-top: 1rem;
    }
}


/* Records Table Styles */

.records-table {
    font-size: 0.9rem;
}

.records-table thead th {
    background-color: var(--light-gray);
    color: #64748B;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 0.75rem;
}

.records-table tbody td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    color: #475569;
}

.records-table tbody tr {
    transition: all 0.3s ease;
}

.records-table tbody tr:hover {
    background-color: #F8FAFC;
}

.sortable {
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.sortable:hover {
    color: var(--primary-blue);
}

.sortable i {
    opacity: 0.3;
    transition: opacity 0.2s ease;
}

.sortable:hover i {
    opacity: 1;
}

.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #42A5F5 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.dept-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: #F1F5F9;
    color: #475569;
    white-space: nowrap;
}

.status-active {
    background-color: #D1FAE5;
    color: #065F46;
}

.status-inactive {
    background-color: #FEE2E2;
    color: #991B1B;
}

.status-pending {
    background-color: #FEF3C7;
    color: #92400E;
}


/* Pagination Styles */

.pagination-custom {
    display: flex;
    gap: 0.25rem;
}

.pagination-custom .page-item {
    margin: 0;
}

.pagination-custom .page-link {
    border: none;
    background: transparent;
    color: #64748B;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.pagination-custom .page-link:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

.pagination-custom .page-item.active .page-link {
    background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 100%);
    color: white;
}

.pagination-custom .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-custom .page-item.disabled .page-link:hover {
    background: transparent;
    color: #64748B;
}


/* Form Controls */

.form-select {
    background-color: var(--light-gray);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.65rem 2rem !important;
    color: #475569;
    font-size: 0.9rem;
}

.form-select:focus {
    background-color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(79, 152, 255, 0.1);
}

.form-select-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.85rem;
}

.form-input {
    background-color: var(--light-gray);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    color: #1E293B;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    background-color: white;
    border-color: #4F98FF;
    box-shadow: 0 0 0 3px rgba(79, 152, 255, 0.1);
    outline: none;
}

.form-input::placeholder {
    color: #94A3B8;
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}


/* Responsive Tables */

@media (max-width: 1200px) {
    .records-table {
        font-size: 0.85rem;
    }
    .records-table thead th,
    .records-table tbody td {
        padding: 0.75rem 0.5rem;
    }
    .avatar-circle {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .records-table {
        font-size: 0.8rem;
    }
    .records-table thead th {
        font-size: 0.7rem;
    }
    .dept-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    .action-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }
    .pagination-custom {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    .pagination-custom .page-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}


/* Return to Top Button - Site genelinde kullanım */

.return-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-navy), #142e4e);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.return-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.return-to-top:hover {
    background: linear-gradient(135deg, #2c5aa0, #4a7cba);
    transform: translateY(-3px);
}

.return-to-top:active {
    transform: translateY(-1px);
}


/* Mobile Return to Top */

@media (max-width: 768px) {
    .return-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}


/* Utility Classes */

.hover-primary {
    transition: all 0.3s ease;
}

.hover-primary:hover {
    color: #3b82f6 !important;
    transform: translateX(-2px);
}

.hover-primary i {
    transition: transform 0.3s ease;
}

.hover-primary:hover i {
    transform: translateX(-3px);
}


/* ============================================
   ADMIN TABLE STYLES - Standart Tablo Yapısı
   ============================================ */


/* User Avatar (Düz Renk) */

.user-avatar {
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}


/* Modern Data Table */

.data-table-modern {
    font-size: 0.9rem;
}

.data-table-modern thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #475569;
    padding: 12px;
    white-space: nowrap;
}

.data-table-modern tbody td {
    padding: 12px;
    vertical-align: middle;
}

.data-table-modern tbody tr {
    transition: background-color 0.2s;
}

.data-table-modern tbody tr:hover {
    background-color: #f8f9fa;
}


/* Sortable Columns - FontAwesome desteği ile */

.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.sortable:hover {
    background-color: #f1f5f9;
}

.sortable i {
    font-size: 0.75rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.sortable:hover i {
    opacity: 1;
}

.sortable.asc i:before {
    content: "\f0de";
    opacity: 1;
    color: #3b82f6;
}

.sortable.desc i:before {
    content: "\f0dd";
    opacity: 1;
    color: #3b82f6;
}


/* Role Badges - Admin Panel */

.role-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.role-badge.owner {
    background-color: #fef3c7;
    color: #92400e;
}

.role-badge.super_admin {
    background-color: #dbeafe;
    color: #1e40af;
}

.role-badge.hr_manager {
    background-color: #dbeafe;
    color: #1e40af;
}

.role-badge.recruiter {
    background-color: #e0e7ff;
    color: #4338ca;
}

.role-badge.viewer {
    background-color: #e5e7eb;
    color: #374151;
}


/* Status Badge - Geliştirilmiş */

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.status-badge.active {
    background-color: #dcfce7;
    color: #15803d;
}

.status-badge.inactive {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-badge.pending {
    background-color: #fef3c7;
    color: #92400e;
}

.status-badge.suspended {
    background-color: #f3e8ff;
    color: #6b21a8;
}


/* Action Buttons - Standart */

.action-buttons {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    text-decoration: none;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.action-btn.view {
    color: #3b82f6;
}

.action-btn.view:hover {
    background-color: #eff6ff;
    border-color: #3b82f6;
}

.action-btn.edit {
    color: #f59e0b;
}

.action-btn.edit:hover {
    background-color: #fffbeb;
    border-color: #f59e0b;
}

.action-btn.delete {
    color: #ef4444;
}

.action-btn.delete:hover {
    background-color: #fef2f2;
    border-color: #ef4444;
}

.action-btn.login {
    color: #10b981;
}

.action-btn.login:hover {
    background-color: #f0fdf4;
    border-color: #10b981;
}

.action-btn.remove {
    color: #22c55e;
}

.action-btn.remove:hover {
    background-color: #f0fdf4;
    border-color: #22c55e;
}


/* Pagination Custom - Geliştirilmiş */

.pagination-custom {
    gap: 4px;
}

.pagination-custom .page-item .page-link {
    border: 1px solid #e2e8f0;
    color: #64748b;
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.2s;
    margin: 0 2px;
}

.pagination-custom .page-item.active .page-link {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.pagination-custom .page-item:hover:not(.disabled) .page-link {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.pagination-custom .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f8f9fa;
}


/* Search Input - Standart */

.search-input {
    width: 100%;
    padding: 0.65rem 1rem;
    padding-left: 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") no-repeat 12px center;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


/* ============================================
   RESPONSIVE DESIGN - Mobile Optimizations
   ============================================ */


/* Mobile Statistics Cards */

@media (max-width: 768px) {
    .stat-card {
        padding: 1rem 0.75rem;
    }
    .stat-icon {
        width: 45px;
        height: 45px;
        margin-right: 0.75rem;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 0.8rem;
    }
}


/* Mobile Table Responsive */

@media (max-width: 576px) {
    .data-table-modern {
        font-size: 0.8rem;
    }
    .data-table-modern thead th,
    .data-table-modern tbody td {
        padding: 8px 6px;
    }
    .user-avatar {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.7rem !important;
    }
    .role-badge,
    .status-badge {
        padding: 2px 6px;
        font-size: 0.65rem;
    }
    .action-btn {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    .action-btn i {
        font-size: 12px !important;
    }
    .action-buttons {
        gap: 4px;
    }
    .pagination-custom .page-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
}


/* Mobile Header Adjustments */

@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    .row.g-2 {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }
    .row.g-2>* {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}


/* Mobile Filter Layout */

@media (max-width: 576px) {
    .btn {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    .form-select,
    .form-control {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
}


/* Mobile Table Scroll Optimization */

@media (max-width: 768px) {
    .table-responsive {
        border: none;
    }
    .table-responsive::-webkit-scrollbar {
        height: 4px;
    }
    .table-responsive::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }
    .table-responsive::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 2px;
    }
    .table-responsive::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
}


/* Export Button Responsive */

.export-btn {
    min-width: 140px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .export-btn {
        min-width: auto;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .export-btn i {
        margin-right: 0 !important;
        font-size: 1.1rem;
    }
}


/* Add Owner Button Responsive */

.add-owner-btn {
    min-width: 140px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .add-owner-btn {
        min-width: auto;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .add-owner-btn i {
        margin-right: 0 !important;
        font-size: 1.1rem;
    }
}


/* Analytics & Error Logs Buttons Responsive */

.analytics-report-btn,
.error-logs-clear-btn,
.error-logs-refresh-btn {
    min-width: 140px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .analytics-report-btn,
    .error-logs-clear-btn,
    .error-logs-refresh-btn {
        min-width: auto;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .analytics-report-btn i,
    .error-logs-clear-btn i,
    .error-logs-refresh-btn i {
        margin-right: 0 !important;
        font-size: 1.1rem;
    }
}


/* Analytics Date Select Responsive */

.analytics-date-select {
    min-width: 140px;
}

@media (max-width: 768px) {
    .analytics-date-select {
        min-width: auto;
        width: 120px;
    }
}


/* Notification Button & Badge - Component için */

.notification-btn {
    position: relative;
    background: transparent;
    border: none;
    color: #64748B;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-btn .hgi {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.notification-btn:hover {
    background: #f8f9fa;
    color: #3b82f6;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}


/* Dropdown Component Base */

.dropdown-component {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}


/* Navbar-like dropdown styles (reusable) */

.dropdown-toggle-nav {
    background: #f8f9fa !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    transition: all 0.2s ease;
    padding: 0;
}

.dropdown-toggle-nav:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #1E293B;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.dropdown-toggle-plain {
    background: transparent !important;
    border: none !important;
    width: auto;
    height: auto;
    padding: 6px;
    color: #475569;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.25rem;
}

.dropdown-toggle-plain:hover {
    background: transparent !important;
    border: none !important;
    color: #1E293B;
    box-shadow: none;
    background-color: #F1F5F9 !important;
}

.dropdown-menu-nav {
    border: 0px solid #eff1f3;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.dropdown-menu-nav .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #374151;
    border-radius: 8px;
    padding: 8px 10px;
}

.dropdown-menu-nav .dropdown-item i,
.dropdown-menu-nav .dropdown-item .hgi {
    font-size: 1rem;
    color: #64748B;
}

.dropdown-menu-nav .dropdown-item:hover {
    background: #f8fafc;
    color: #2563EB;
}


/* User Profile Button */

.user-profile-btn {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #64748B;
}

.user-profile-btn:hover {
    background: #f8f9fa;
    color: #3b82f6;
}


/* User Avatar Small */

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #7d92ec;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 8px;
}


/* User Info */

.user-info {
    text-align: left;
    margin-right: 8px;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.user-role {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.2;
}


/* ===================================== */


/* Modern Info Cards & Timeline Styles   */


/* ===================================== */


/* User Avatar */

.user-avatar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* Modern Info Cards */

.info-card-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    height: 100%;
}

.info-card-modern:hover {
    background: #fff;
    border-color: #e0e6ed;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-card-modern:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-icon i {
    font-size: 22px;
}


/* Background Colors */

.bg-primary-light {
    background: rgba(79, 152, 255, 0.1);
}

.bg-warning-light {
    background: rgba(255, 193, 7, 0.1);
}

.bg-success-light {
    background: rgba(40, 199, 111, 0.1);
}

.bg-info-light {
    background: rgba(23, 162, 184, 0.1);
}

.info-details {
    flex: 1;
    line-height: 1.5;
    width: 100%;
}

.info-details small {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 6px;
    color: #6c757d;
}

.info-details strong {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 600;
    word-break: break-word;
}


/* Timeline Styles */

.timeline {
    position: relative;
    padding-left: 0;
}


/* Timeline with before line and padding (alternative style for user-details) */

.timeline.timeline-with-line {
    padding-left: 30px;
}

.timeline.timeline-with-line:before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.timeline-item {
    display: flex;
    padding-bottom: 1.5rem;
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    width: 2px;
    height: calc(100% - 20px);
    background: #e2e8f0;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.timeline-content {
    flex-grow: 1;
    padding-top: 0.25rem;
}


/* Responsive - Info Cards & Timeline */

@media (max-width: 768px) {
    .info-card-modern {
        padding: 10px 12px;
    }
    .info-icon {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    .info-icon i {
        font-size: 18px;
    }
    /* Mobilde tek sütun */
    .user-info .row .col-6,
    .owner-info .row .col-6 {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* ===================================== */


/* User Details & Badges Styles          */


/* ===================================== */


/* User Avatar Large */

.user-avatar-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    font-weight: 700;
    margin: 0 auto;
}


/* Info Item */

.info-item {
    text-align: left;
}

.info-item small {
    font-weight: 500;
}


/* Company Logo Small */

.company-logo-sm {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #20bf6b, #26d0ce);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}


/* Role Badges */

.role-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.role-badge.owner {
    background-color: #fef3c7;
    color: #92400e;
}

.role-badge.hr_manager {
    background-color: #dbeafe;
    color: #1e40af;
}

.role-badge.recruiter {
    background-color: #e0e7ff;
    color: #4338ca;
}

.role-badge.viewer {
    background-color: #e5e7eb;
    color: #374151;
}


/* Status Badge */

.status-badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.status-badge.active {
    background-color: #dcfce7;
    color: #15803d;
}

.status-badge.inactive {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-badge.pending {
    background-color: #fef3c7;
    color: #92400e;
}

.status-badge.suspended {
    background-color: #f3e8ff;
    color: #6b21a8;
}


/* Plan Badges */

.plan-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.plan-badge.trial {
    background-color: #fef3c7;
    color: #92400e;
}

.plan-badge.starter {
    background-color: #d1fae5;
    color: #065f46;
}

.plan-badge.professional {
    background-color: #dbeafe;
    color: #1e40af;
}

.plan-badge.enterprise {
    background-color: #f3e8ff;
    color: #6b21a8;
}


/* Timeline Marker (Alternative style) */

.timeline-marker {
    position: absolute;
    left: -26px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #e5e7eb;
}


/* Additional Purple Background */

.bg-purple-light {
    background: rgba(156, 39, 176, 0.1);
}

.text-purple {
    color: #9c27b0 !important;
}


/* ===================================== */


/* Password Toggle Styles                */


/* ===================================== */

.password-toggle-text {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    font-size: 0.75rem;
    color: #4F98FF;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.password-toggle-text:hover {
    background-color: rgba(79, 152, 255, 0.1);
    color: #3b82f6;
}


/* ========================================
   Dashboard Action Buttons - Standard
   ======================================== */


/* Buton içindeki iconların standart boyutu */

.btn i.hgi {
    font-size: 1.25rem;
}


/* Dashboard header action buttons */

.dashboard-header-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.dashboard-header-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dashboard-header-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* CRM Style Buttons - Uniform sizing */


/* .btn-outline-secondary {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
} */

.btn-outline-secondary:hover,
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-secondary i,
.btn-outline-secondary .hgi,
.btn-primary i,
.btn-primary .hgi {
    font-size: 1rem;
}

.btn-outline-secondary {
    color: #64748B;
    border-color: #E2E8F0;
    background: white;
}

.btn-outline-secondary:hover {
    color: #1E293B;
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.btn-outline-secondary:active,
.btn-outline-secondary.active {
    color: #4F98FF;
    background: #EFF6FF;
    border-color: #4F98FF;
}


/* Responsive - Mobile */

@media (max-width: 768px) {
    .dashboard-header-actions {
        justify-content: center;
        width: 100%;
    }
    .dashboard-header-actions .btn {
        padding: 0.75rem;
        min-width: auto;
        width: 48px;
        height: 48px;
        justify-content: center;
        border-radius: var(--border-radius);
    }
    /* Mobil'de buton metinlerini gizle */
    .dashboard-header-actions .btn-text {
        display: none;
    }
    /* Mobil'de icon boyutunu artır */
    .dashboard-header-actions .btn i.hgi {
        font-size: 1.5rem;
        margin: 0 !important;
    }
}


/* ========================================
   Breadcrumb Navigation - Standard
   ======================================== */

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: #94A3B8;
    font-size: 1.2rem;
    padding: 0 0.5rem;
    position: relative;
    top: -4px;
}

.breadcrumb-item a {
    color: #64748B;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-blue);
}

.breadcrumb-item.active {
    color: #1E293B;
    font-weight: 500;
}

.breadcrumb-item i {
    font-size: 0.9rem;
    vertical-align: middle;
}


/* Breadcrumb responsive */

@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.8rem;
    }
    .breadcrumb-item+.breadcrumb-item::before {
        padding: 0 0.3rem;
    }
}


/* ========================================
   Icon Utility Classes - Standard
   ======================================== */


/* Icon Sizes */

.icon-xs {
    font-size: 0.75rem;
}

.icon-sm {
    font-size: 1rem;
}

.icon-md {
    font-size: 1.25rem;
}

.icon-lg {
    font-size: 1.5rem;
}

.icon-xl {
    font-size: 2rem;
}

.icon-xxl {
    font-size: 3rem;
}


/* Icon Colors */

.icon-primary {
    color: var(--primary-blue);
}

.icon-success {
    color: var(--success-green);
}

.icon-warning {
    color: var(--warning-orange);
}

.icon-danger {
    color: var(--danger-red);
}

.icon-muted {
    color: #94A3B8;
}

.icon-dark {
    color: #1E293B;
}

.icon-white {
    color: white;
}


/* Icon in card titles */

.card-title .hgi,
.card-title i {
    vertical-align: middle;
}


/* Icon in section headers */

.section-title .hgi,
.section-title i {
    vertical-align: middle;
}


/* ========================================
   Job Detail Page Styles
   ======================================== */

.info-item {
    padding: 0.75rem 0;
}

.info-label {
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 500;
    margin-bottom: 0.25rem;
    display: block;
}

.info-value {
    color: #1E293B;
    font-size: 0.95rem;
    font-weight: 500;
}

.job-content {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

.skills-display {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.skill-badge.required {
    background-color: #EF4444;
    color: white;
}

.skill-badge.preferred {
    background-color: #64B5F6;
    color: white;
}

.skill-badge.technical {
    background-color: #A78BFA;
    color: white;
}

.stat-item {
    padding: 0.5rem 0;
}


/* ========================================
   Mini Stat Cards (Sidebar Stats)
   ======================================== */

.mini-stat-card {
    padding: 1rem;
    background: #F8FAFC;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mini-stat-card:hover {
    background: #F1F5F9;
    transform: translateX(2px);
}

.mini-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bg-primary-light {
    background: rgba(79, 152, 255, 0.1);
}

.bg-success-light {
    background: rgba(52, 211, 153, 0.1);
}

.bg-warning-light {
    background: rgba(251, 191, 36, 0.1);
}

.bg-danger-light {
    background: rgba(239, 68, 68, 0.1);
}

.mini-stat-label {
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.mini-stat-value {
    font-size: 1.25rem;
    color: #1E293B;
    font-weight: 700;
    line-height: 1;
}


/* =====================================================
   STANDARD MODAL STYLES - Site Wide
   ===================================================== */


/* Modal Content */

.modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}


/* Modal Header */

.modal-header {
    padding: 32px 32px 24px;
    /* text-align: center; */
    position: relative;
    border-bottom: none;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
}


/* Modal Close Button */

.modal-header .btn-close {
    position: absolute;
    top: 26px;
    right: 30px;
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
    opacity: 1;
}

.modal-header .btn-close::before {
    content: "×";
    font-size: 28px;
    font-weight: normal;
    line-height: 1;
}

.modal-header .btn-close:hover {
    background: #e2e8f0;
    color: #475569;
    transform: rotate(90deg);
}

.modal-header .btn-close:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}


/* Modal Icon */

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    /* margin: 0 auto 24px; */
    animation: pulse 2s infinite;
}


/* Modal Icon Variants */

.modal-icon.danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    animation: shake 0.5s ease-in-out;
}

.modal-icon.success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
}

.modal-icon.warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}


/* Modal Title & Text */

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    /* margin-bottom: 12px; */
}

.modal-text {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}


/* Modal Body */

.modal-body {
    padding: 0 32px 24px;
    max-height: 60vh;
    overflow-y: auto;
}


/* Modal Footer */

.modal-footer {
    padding: 24px 32px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 16px 16px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-footer .btn {
    padding: 11px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 14px;
}

.modal-footer .btn-outline-secondary {
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
}

.modal-footer .btn-outline-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
    transform: translateY(-1px);
}

.modal-footer .btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.modal-footer .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.5);
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5);
}


/* Modal Content Sections */

.modal-content-section {
    margin-bottom: 24px;
}

.modal-content-section h6 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-content-section h6 i {
    color: #3b82f6;
    font-size: 18px;
}

.modal-content-table {
    width: 100%;
    border-collapse: collapse;
}

.modal-content-table td {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}

.modal-content-table td:first-child {
    font-weight: 500;
    color: #475569;
    width: 40%;
}

.modal-content-table td:last-child {
    color: #1e293b;
}


/* Modal Info & Warning Boxes */

.modal-info-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
    font-weight: 500;
    margin-bottom: 16px;
}

.modal-info-box i {
    color: #3b82f6;
    font-size: 24px;
    flex-shrink: 0;
}

.modal-warning-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #92400e;
    font-size: 13px;
    font-weight: 500;
}

.modal-warning-box i {
    color: #f59e0b;
    font-size: 16px;
}


/* Modal Animations */

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shake {
    0%,
    100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}


/* Mobile Responsive */

@media (max-width: 480px) {
    .modal-header {
        padding: 24px 20px 16px;
    }
    .modal-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
        margin-bottom: 16px;
    }
    .modal-title {
        font-size: 20px;
    }
    .modal-body {
        padding: 0 20px 16px;
    }
    .modal-footer {
        padding: 16px 20px;
        flex-direction: column-reverse;
    }
    .modal-footer .btn {
        width: 100%;
    }
}


/* Table header border radius - Tüm sayfalardaki tablolar için */

.table thead th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.table thead th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}


/* ========================================
   User Avatar & Photo Placeholder
   ======================================== */


/* User Avatar Image */

.user-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* CV Photo Section (for placeholder) */

.cv-photo-section {
    flex-shrink: 0;
}

.cv-photo-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #667EEA;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
    border: 2px solid #667EEA;
}


/* Candidate Avatar (Pipeline Style - for all candidate avatars) */

.candidate-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: white;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.candidate-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.candidate-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ========================================
   Modern Filter Styles
   ======================================== */


/* Modern Filter Card */

.modern-filter-card {
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modern-filter-card .card-body {
    background: linear-gradient(135deg, #FAFBFC 0%, #FFFFFF 100%);
}


/* Modern Filter Inputs */

.modern-filter-input {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: white;
}

.modern-filter-input:focus {
    border-color: #4F98FF;
    box-shadow: 0 0 0 3px rgba(79, 152, 255, 0.1);
    outline: none;
}


/* Filter Input Icon */

.filter-input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 1rem;
    pointer-events: none;
}


/* Filter Tags */

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1px solid #BFDBFE;
    border-radius: 20px;
    padding: 0.375rem 0.75rem;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.filter-tag:hover {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.filter-tag-label {
    color: #1E40AF;
    font-weight: 600;
}

.filter-tag-value {
    color: #3B82F6;
    font-weight: 500;
}

.filter-tag-remove {
    background: transparent;
    border: none;
    color: #60A5FA;
    cursor: pointer;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.filter-tag-remove:hover {
    background: #3B82F6;
    color: white;
    transform: scale(1.1);
}

.filter-tag-remove .hgi {
    width: 12px;
    height: 12px;
}


/* Advanced Toggle Button */

.btn-link {
    color: #4F98FF;
    font-weight: 500;
}

.btn-link:hover {
    color: #3B82F6;
}

#advancedToggleIcon {
    transition: transform 0.3s ease;
    display: inline-block;
}


/* Filters Row Animation */

#filtersRow {
    opacity: 0;
    transform: translateY(-10px);
}


/* Form Labels */

.modern-filter-card .form-label {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.modern-filter-card .form-label i,
.modern-filter-card .form-label .hgi {
    font-size: 0.9rem;
}


/* Mobile Responsive - Filter Styles */

@media (max-width: 768px) {
    .modern-filter-card .card-body {
        padding: 1.5rem !important;
    }
    .filter-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}


/* ========================================
   Pagination Custom Styles
   ======================================== */

.pagination {
    gap: 4px;
}

.pagination .page-item .page-link {
    border: 1px solid #e2e8f0;
    color: #64748b;
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.2s;
    margin: 0 2px;
}

.pagination .page-item.active .page-link {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.pagination .page-item:hover:not(.disabled) .page-link {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f8f9fa;
}

/* Job Icon */
.job-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667EEA, #667EEA);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* AI Toggle Component */
.ai-search-toggle {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
}

.toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.icon-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.toggle-info {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    padding-left: 2px;
    transition: color 0.3s;
}

/* Switch (Toggle) Design */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1; /* Kapalı renk */
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

/* Açık Durum (Checked) */
input:checked + .slider {
    background-color: #4f46e5; /* Mavi renk */
}

input:checked + .slider:before {
    transform: translateX(18px);
}

/* Yuvarlaklık */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* AI Score Badge */
.ai-score-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-score-badge {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 80px;
}

.ai-score-value {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1e293b;
}

.ai-score-bar {
    width: 100%;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.ai-score-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Loading Steps */
.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.loading-step.active {
    background: #eff6ff;
    border-color: #6366f1;
}

.loading-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    color: #6366f1;
    font-size: 1.25rem;
}

.loading-step.active .loading-icon {
    background: #6366f1;
    color: #ffffff;
}

.loading-content {
    flex: 1;
}

.loading-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 2px;
}

.loading-desc {
    font-size: 0.8rem;
    color: #64748b;
}

.loading-spinner {
    display: flex;
    align-items: center;
}

.toggle-info-detailed {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #e2e8f0;
}