/* General Styles */
body {
    background-color: #1e2124;
    color: #e9ecef;
}

/* Card Styling */
.card {
    background-color: #2a2e33;
    border: 1px solid #343a40;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: all 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #343a40;
    padding: 1rem 1.25rem;
}
.card-header:first-child {
border-radius: var(--bs-border-radius-xl) var(--bs-border-radius-xl) 0 0;
}

.card-body {
    padding: 1.25rem;
}

/* Loading Styles */
.loading-overlay {
    display:none!important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.loading-overlay.active {
    display:none!important;
    opacity: 1;
    visibility: visible;
}

.spinner {
    display:none!important;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Button Styling */
.btn-primary {
    background-color: #375a7f;
    border: 2px solid transparent;
    /* padding: 0.75rem 2rem; */
    font-size: 1.1rem;
    position: relative;
    background-clip: padding-box;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(45deg, #00bfff, #375a7f);
}

.btn-primary:hover {
    background-color: #2b4764;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-success {
    background-color: #00bc8c;
    border-color: #00bc8c;
}

.btn-success:hover {
    background-color: #009670;
    border-color: #009670;
}
.bg-primary1{
    background-color: #A694FF;
    color:#fff!important;
}
.btn-outline-primary {
    color: #A694FF;
    border-color: #A694FF;
}

.btn-outline-primary:hover {
    background-color: #A694FF;
    color: #fff;
}

/* File upload styling */
input[type="file"] {
    color: transparent;
}

/* Table styling */
.table {
    color: #e9ecef;
}

.table th {
    border-top: none;
    border-bottom: 2px solid #343a40;
}

.table td {
    border-color: #343a40;
}

/* Form controls */
.form-control {
    background-color: #343a40;
    border-color: #495057;
    color: #e9ecef;
}

.form-control:focus {
    background-color: #343a40;
    border-color: #375a7f;
    color: #e9ecef;
    box-shadow: 0 0 0 0.25rem rgba(55, 90, 127, 0.25);
}

/* Feather icon styling */
[data-feather] {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
}

/* Custom styles that complement Bootstrap dark theme */

/* Navbar customization */
.navbar {
    position: relative;
    width: 100vw;
    z-index: 10;
    height: 70px;
}

/* Special navbar style for landing page */
.landing-page .navbar {
    position: absolute;
    background-color: transparent;
    filter: alpha(opacity=80);
}

/* Card customization */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Table customization */
.table {
    margin-bottom: 0;
}

.table thead th {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

/* Form customization */
.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Button customization */
.btn {
    font-weight: 500;
}

/* Chat Icon */
.chat-icon-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-icon {
    width: 60px;
    height: 60px;
    background-color: #375a7f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.chat-icon:hover {
    transform: scale(1.1);
}

.chat-icon i {
    color: white;
    font-size: 24px;
}

.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: #2a2e33;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: none;
    overflow: hidden;
    z-index: 1000;
}

.chat-window.active {
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 15px;
    background: #375a7f;
    color: white;
    font-weight: bold;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.chat-input-container {
    padding: 15px;
    border-top: 1px solid #444;
    display: flex;
}

.chat-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #444;
    border-radius: 20px;
    background: #1e2124;
    color: white;
    margin-right: 10px;
}

.chat-send {
    background: #375a7f;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
/* Navigation Styles */
.navbar {
    /* background-color: #121212 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 70px;
}

.navbar-brand {
    font-size: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    height: 70px;
}

.btn-log {
    text-decoration: none;
    margin: 0 10px;
    border: 2px solid #375a7f;
    color: #375a7f;
    font-size: 16px;
    padding: 8px 24px !important;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-log:hover {
    background-color: #375a7f;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(55, 90, 127, 0.3);
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 70px;
}

.desktop-nav .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 70px;
    list-style: none;
}

.desktop-nav .navbar-nav.me-auto {
    flex-grow: 0;
    margin-left: 2rem;
    margin-right: auto;
}

.desktop-nav .navbar-nav:not(.me-auto) {
    margin-left: auto;
}

.desktop-nav .nav-item {
    list-style: none;
    margin: 0 0.25rem;
    display: flex;
    align-items: center;
    height: 70px;
}

.desktop-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    height: auto;
}

.desktop-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

.desktop-nav .nav-link i {
    width: 16px;
    text-align: center;
    margin-right: 0.5rem;
}

/* User Menu */
.user-menu {
    background-color: rgba(55, 90, 127, 0.2);
    border: 1px solid rgba(55, 90, 127, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1rem !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    min-width: 180px;
    justify-content: flex-start;
    color: rgba(255, 255, 255, 0.8);
}

.user-menu:hover,
.user-menu:focus {
    background-color: rgba(55, 90, 127, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.user-menu i {
    margin-right: 0.5rem;
}

.dropdown-menu {
    background-color: #2d2d2d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(55, 90, 127, 0.3);
    margin-top: 0.5rem;
    min-width: 200px;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 0.25rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(55, 90, 127, 0.2);
    color: #ffffff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle:focus {
    outline: 2px solid #375a7f;
    outline-offset: 2px;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: #ffffff;
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 2px;
}

/* Hamburger animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
}

/* Mobile Navigation Header */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-header h5 {
    color: #ffffff;
    font-weight: 600;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    cursor: pointer;
}

.mobile-nav-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Mobile User Info */
.mobile-user-info {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background-color: rgba(55, 90, 127, 0.2);
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(55, 90, 127, 0.3);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #375a7f, #00bfff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: #ffffff;
}

.user-details h6 {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    word-break: break-word;
}

.user-details small {
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Navigation Links */
.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 0.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover {
    background-color: rgba(55, 90, 127, 0.3);
    color: #ffffff;
    transform: translateX(8px);
    border-color: rgba(55, 90, 127, 0.5);
}

.mobile-nav-link i:first-child {
    width: 24px;
    text-align: center;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.mobile-nav-link span {
    flex-grow: 1;
    font-weight: 500;
}

.mobile-nav-link i:last-child {
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover i:last-child {
    color: #ffffff;
    transform: translateX(4px);
}

.logout-link {
    border-color: rgba(239, 68, 68, 0.3) !important;
    background-color: rgba(239, 68, 68, 0.1) !important;
}

.logout-link:hover {
    background-color: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
}

.mobile-nav-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

/* Mobile Auth Section */
.mobile-auth-section {
    padding: 2rem 1rem;
    text-align: center;
}

.mobile-auth-section .btn {
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-auth-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(55, 90, 127, 0.3);
}

/* Desktop specific improvements */
@media (min-width: 992px) {
    .navbar {
        padding: 1rem 0;
        height: 70px;
    }
    
    .navbar .container {
        max-width: 1200px;
        margin: 0 auto;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .navbar-brand {
        display: flex;
        align-items: center;
        height: 100%;
    }
    
    .desktop-nav {
        display: flex !important;
        width: auto;
        flex-grow: 1;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        margin-left: 2rem;
    }
    
    .desktop-nav .navbar-nav.me-auto {
        flex-grow: 0;
        margin-left: 0;
        margin-right: auto;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .mobile-nav-overlay {
        display: none !important;
    }
    
    .dropdown-toggle::after {
        margin-left: 0.5rem;
    }
}

/* Tablet responsive */
@media (max-width: 991px) and (min-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
}

/* Mobile responsive */
@media (max-width: 576px) {
    .mobile-nav-content {
        width: 95%;
        padding: 1.5rem 1rem;
    }
    
    .mobile-user-info {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .user-avatar {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .mobile-menu-toggle,
    .hamburger-line,
    .mobile-nav-overlay,
    .mobile-nav-content,
    .mobile-nav-link {
        transition: none;
    }
}

/* Focus styles for better accessibility */
.mobile-nav-link:focus {
    outline: 2px solid #375a7f;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .mobile-nav-overlay {
        background-color: rgba(0, 0, 0, 0.95);
    }
    
    .mobile-nav-content {
        border-left: 2px solid #ffffff;
    }
    
    .mobile-nav-link {
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
}
.btn-sm {
    padding: 0.25rem 0.5rem;
}

/* Badge customization */
.badge {
    padding: 0.5em 0.75em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    display: inline-block;
    text-align: left;
}

/* Alert customization */
.alert {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease-in-out;
}

/* Modal customization */
.modal-content {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* DataTables customization */
.datatable-wrapper {
    background-color: transparent;
}

.datatable-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: inherit;
}

.datatable-pagination a {
    color: inherit;
}


/* Utility classes */
.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Animation for alerts */
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.alert {
    animation: fadeOut 0.5s ease-in-out forwards;
    animation-delay: 3s;
}

/* Landing page specific styles */
.hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, var(--bs-dark) 0%, #2a2a2a 100%);
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero-icon {
    stroke: var(--bs-primary);
    stroke-width: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    stroke: var(--bs-primary);
}

.feature-icon-large {
    stroke: var(--bs-primary);
    opacity: 0.8;
}

.feature-list li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.cta-buttons {
    margin-top: 2rem;
}

/* /* Page Transitions */
/* .page-transition {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.page-transition.loading {
    opacity: 0.6;
} */ 

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease-in-out;
}

.loading-overlay.active {
    display:none!important;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--bs-primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth content transitions */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Button hover effects */
.btn {
    transition: all 0.3s ease;
}

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

/* Table row hover animation */
.table tbody tr {
    transition: background-color 0.3s ease;
}

.table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Badge transitions */
.badge {
    transition: all 0.3s ease;
}

.badge:hover {
    transform: scale(1.1);
}

/* Modal transitions */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: scale(0.95);
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Alert animations */
.alert {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Feature card animations */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Icon animations */
[data-feather] {
    transition: all 0.3s ease;
}

[data-feather]:hover {
    transform: scale(1.1);
}

/* Location and department badge containers */
.d-flex.flex-wrap.gap-1 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.d-flex.flex-wrap.gap-1 .badge {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    min-width: 0;
    flex-shrink: 1;
}

/* Hiring meta boxes */
.hiring-meta-box {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hiring-meta-box .badge {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    margin-bottom: 0.25rem;
}

/* General text wrapping for all containers */
.card-body, .hiring-container, .solution-card {
    word-wrap: break-word;
    overflow-wrap: break-word;
}


/* Add any additional custom styles here */

/* Maintenance Mode Styles */
.maintenance-banner {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.maintenance-banner i {
    margin-right: 8px;
}

/* Disabled enrich buttons in maintenance mode */
.btn.disabled-maintenance {
    opacity: 0.5;
    pointer-events: none;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    cursor: not-allowed;
}

.btn.disabled-maintenance:hover {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}