.line-high {
    line-height: 1.4;
}

.flex-33 {
    flex: 0 0 33.3333%;
}

#employeeConfirmMessage, #employerConfirmMessage {
    color: #d93f0b;
    display: none;
    margin: 20px 0px;
}

.pagination li.page-item {
    margin-left: 5px;
}

.bg-gradient-purple {
    background: linear-gradient(to right, #7626C7, #9747FF);
}

.bg-gradient-blue {
    background: linear-gradient(to right, #2C4DDB, #003267);
}

.bg-gradient-grey {
    background: linear-gradient(to right, #f8f9fa, #f8f9fa);
}

.bg-gradient-green {
    background: linear-gradient(to right, #28a745, #28a745);
}

.border-color-purple {
    border-color: #7626C7 !important;
}

.custom_table td, .custom_table th{
    width: 15%;
}

.form-item .btn[type="submit"] {
    padding: 15px 20px;
    min-width: 200px;
}

.verification-section {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 1rem;
    margin-bottom: 1rem;
}
.verification-section h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.verification-section h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.verification-section p {
    margin-bottom: 0.5rem;
}

.bg-logo-color {
    background-color: #2C4DDB;
}

.btn-vetted {
    background-color: #7626C7;
    color: #fff;
}

.form-label {
    color: black;
    font-weight: bold;
}

.col-md-3 .card .form-label {
    color: #fff;
  }

.c-profile-heading {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}
.c-profile-heading h1 {
    color: #333;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
.c-profile-heading .text-muted {
    color: #666 !important;
}
.c-profile-heading .bordered-top {
    border-top: 2px solid #f0f0f0;
}
.c-profile-heading .color-accent {
    color: #007bff;
}
.c-profile-heading .fs-5 {
    font-size: 1.1rem !important;
}

/* On job-applicants page */

.tooltip-icon {
    cursor: help;
    display: inline-block;
    margin-left: 5px;
    font-size: 0.8em;
    color: #888;
}

.tooltip-icon:hover::after {
    content: attr(title);
    position: absolute;
    background: #333;
    color: #fff;
    padding: 10px;
    border-radius: 3px;
    font-size: 0.9em;
    max-width: 200px;
    z-index: 1000;
}

/* Active User Status Badges */
.status-badge {
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 5px;
    display: inline-block;
}

.status-badge.approved {
    background: #67c23a;
}

.status-badge.not-approved {
    background: #ffb300;
}

.status-badge.finish-onboard {
    background: #4ECDC4;
    font-weight: 700;
}

.status-badge.rejected {
    background: #FF6B6B;
}

.status-badge.vetted {
    background: #7626c7;
}

.status-badge.not-vetted {
    background: #ff3900;
}

.ai-text {
    background: linear-gradient(45deg, #12c2e9, #c471ed, #f64f59);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    display: inline-block;
    position: relative;
    font-size: inherit;
    padding: 2px 0; /* Add padding to prevent clipping */
}

.ai-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    /*animation: shimmer 2s infinite;*/
}

/*@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}*/

.ai-placeholder {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 2rem;
    color: #333;
}

.ai-input-area {
    margin-bottom: 1.5rem;
}
.ai-suggestions, .ai-tips {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.ai-suggestions h4, .ai-tips h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.ai-suggestions ul, .ai-tips ul {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.ai-question-card {
    position: relative;
    transition: background-color 0.3s, color 0.3s;
}

.ai-question-card.active {
    background-color: #28a745;
    color: #fff;
}
/* New styles for the AI generate button */
#generate-questions-btn {
    background: linear-gradient(45deg, #12c2e9, #c471ed);
    border: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 50px; /* Increased height */
    padding: 10px 20px; /* Adjusted padding for better proportions */
}

#generate-questions-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    /*animation: buttonShimmer 2s infinite;*/
}

#generate-questions-btn:hover {
    background: linear-gradient(45deg, #11b3d8, #b367d8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/*@keyframes buttonShimmer {
    100% {
        transform: translateX(100%);
    }
}*/


#costEstimateCard p.currecny-alert#phpConversionRate{
    font-size: 12px !important;
    display: block;
    white-space: normal;
    padding-top: 10px;
}

.ai-credits-badge {
    background-size: 300% 300% !important;
    animation: gradient-animation 5s ease infinite;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.onboarding_form_wrapper .form-item {
    display: none;
}


.voice-video-section .nav {
    gap: 5px !important;
}

.voice-video-section .nav-tabs {
    border-bottom: none !important;
}

.voice-video-section .nav-tabs .nav-link {
    font-size: 1rem !important;
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
    color: #0d6efd !important;
}

.voice-video-section .nav-tabs .nav-link:hover {
    background-color: #625F7F !important;
    color: #fff !important;
}

.voice-video-section .nav-tabs .nav-link.active {
    font-weight: 600 !important;
    border-color: #dee2e6 #dee2e6 #fff !important;
    box-shadow: inset 0 -2px 0 #0d6efd !important;
}

@media (max-width: 576px) {
    #submit-voice-note,
    #submit-video-note, .btn {
        padding: 0.25rem 0.5rem !important;
    }
}

.awaiting-mod {
    background-color: #dc3232 !important;
    color: #fff !important;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    vertical-align: top;
}

.btn-sm {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.875rem !important;
    border-radius: 0.2rem !important;
}

/* Form Builder Specific Styles */


.custom-question-item {
    transition: all 0.3s ease;
    border-left: 4px solid #17a2b8;
}

.custom-question-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.custom-question-item.dragging {
    opacity: 0.5;
}

.drag-handle {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.drag-handle:hover {
    opacity: 1;
}

.question-type-badge {
    font-size: 0.75em;
    font-weight: 500;
}



.form-check-container .form-check {
    margin-bottom: 8px;
}

.rating-preview i {
    font-size: 1.2em;
}

.rating-preview i:hover {
    color: #ffc107 !important;
}

.file-upload-preview,
.video-upload-preview {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #6c757d;
    transition: all 0.3s ease;
}

.file-upload-preview:hover,
.video-upload-preview:hover {
    border-color: #007bff;
    background-color: rgba(0,123,255,0.05);
}

.options-container .input-group {
    margin-bottom: 8px;
}


.add-question-section .dropdown-menu {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: none;
    border-radius: 8px;
}

.add-question-section .dropdown-item {
    padding: 12px 20px;
    transition: all 0.2s ease;
}

.add-question-section .dropdown-item:hover {
    background-color: #007bff;
    color: white;
    transform: translateX(4px);
}

.sortable-questions {
    min-height: 60px;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
}

.sortable-questions:empty::before {
    content: "Drag questions here or add new ones using the button below";
    color: #6c757d;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.sortable-questions.drag-over {
    border-color: #007bff;
    background-color: rgba(0,123,255,0.05);
}

.question-editor {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #dee2e6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .requirement-item .row > div {
        margin-bottom: 10px;
    }
    
    .custom-question-item .d-flex {
        flex-direction: column;
        gap: 10px;
    }
    
    .question-type-badge {
        align-self: flex-start;
    }
}

/* Animation for adding new items */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.requirement-item,
.custom-question-item {
    animation: slideInUp 0.3s ease;
}



/* Form switches styling */
.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.form-check-input:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}



/* Question header styling */
.question-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.question-header .badge {
    font-size: 0.7em;
    padding: 4px 8px;
}


/* Apply Job: Custom Questions Builder */
.skeleton-line {
    background: linear-gradient(90deg, #e9ecef 25%, #f8f9fa 50%, #e9ecef 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    height: 16px;
    border-radius: 4px;
}
@keyframes shimmer {
    100% {
        background-position: -200% 0;
    }
}

.form-label.fw-bold {
    font-weight: 700 !important;
    display: block;
    margin-bottom: 0.5rem;
    color: #212529;
    line-height: 1.4;
    font-size: 1rem;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

.custom-question-item .placeholder {
    display: inline-block;
    height: 1rem;
    background-color: #dee2e6;
    border-radius: 0.25rem;
    animation: placeholder-glow 1.5s infinite;
}

.custom-question-item .placeholder-glow .placeholder {
    animation: placeholder-glow 1.5s infinite;
}

@keyframes placeholder-glow {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

.view-job-application .skeleton {
    background: linear-gradient(90deg, #e0e0e0 25%, #f3f3f3 50%, #e0e0e0 75%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0
    }

    100% {
        background-position: -100% 0
    }
}

.view-job-application .skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.2s infinite linear;
    border-radius: 4px;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.view-job-application a:hover .border.rounded.shadow-sm {
    transform: scale(1.02);
}

.view-job-application .media-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.view-job-application h6.fw-semibold {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    margin-bottom: 1rem;
}