@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
.animate-scale-in {
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Custom layout classes to bypass missing pre-compiled Tailwind utilities */
.custom-sidebar {
    display: none;
}
.custom-card-container {
    width: 100%;
}
.custom-card-align {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .custom-main {
        align-items: flex-start !important;
    }
    .custom-sidebar {
        display: flex !important;
        width: 50% !important;
    }
    .custom-card-container {
        width: 50% !important;
    }
    .custom-card-align {
        margin-left: auto !important;
        margin-right: 0 !important;
    }
}
@keyframes spin-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.wlc-spinner-rotate {
    animation: spin-rotate 1s linear infinite !important;
}

/* Animated Success Badge for step 3 verification modal */
.modal-wlc-badge {
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    background: #EEF2FF !important;
    border: 4px solid #ffffff !important;
    color: #4F47E6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    animation: modalBadgeRipple 2s infinite ease-in-out !important;
}
@keyframes modalBadgeRipple {
    0% { box-shadow: 0 0 0 0 rgba(79, 71, 230, 0.4); }
    50% { box-shadow: 0 0 0 16px rgba(79, 71, 230, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 71, 230, 0); }
}
.modal-wlc-badge svg path {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: modalCheckDraw 2.5s infinite ease-in-out !important;
}
@keyframes modalCheckDraw {
    0% { stroke-dashoffset: 30; opacity: 0; }
    20% { stroke-dashoffset: 0; opacity: 1; }
    80% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: -30; opacity: 0; }
}

/* Animated Failure Badge for step 3 verification modal */
.modal-wlc-badge-fail {
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    background: #FDE8E8 !important;
    border: 4px solid #ffffff !important;
    color: #EF4444 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    animation: modalBadgeRippleFail 2s infinite ease-in-out !important;
}
@keyframes modalBadgeRippleFail {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 16px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.modal-wlc-badge-fail svg path {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: modalCheckDraw 2.5s infinite ease-in-out !important;
}

/* Custom Primary Scrollbar for Onboarding Dropdowns, Textareas, and Lists */
.custom-primary-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #4F47E6 #F1F5F9;
}
.custom-primary-scrollbar::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
.custom-primary-scrollbar::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 99px;
}
.custom-primary-scrollbar::-webkit-scrollbar-thumb {
    background-color: #6366F1;
    border-radius: 99px;
}
.custom-primary-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #4F46E5;
}

/* ══════════════════════════════════════════════════════════════════
   INTERNCONNECT STANDARDIZED INPUT DESIGN SYSTEM
   Reference Standard: employer/internships/create (employer-post-internship.css)
   ══════════════════════════════════════════════════════════════════ */
[x-cloak] {
    display: none !important;
}

.emp-field-group {
    margin-bottom: 16px;
    text-align: left;
}

.emp-field-group:last-child {
    margin-bottom: 0;
}

.emp-field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 7px;
    text-transform: none;
    letter-spacing: 0.01em;
    text-align: left;
}

.emp-input-text {
    width: 100%;
    height: 44px;
    min-height: 44px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 13.5px;
    color: #0F172A;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
    box-sizing: border-box;
    line-height: normal;
}

.emp-input-text:focus {
    border-color: #4F48E6;
    box-shadow: 0 0 0 3px rgba(79, 72, 230, 0.12);
}

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

.emp-input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.emp-input-icon-slot {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.emp-input-icon-slot svg,
.emp-input-icon-slot iconify-icon {
    width: 16px;
    height: 16px;
    font-size: 16px;
    flex-shrink: 0 !important;
}

.emp-input-with-icon .emp-input-text {
    padding-left: 40px !important;
}

.emp-input-with-right-icon .emp-input-text {
    padding-right: 44px !important;
}

.emp-input-right-slot {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    color: #94A3B8;
    transition: color 0.15s ease;
}

.emp-input-right-slot:hover {
    color: #475569;
}

.emp-input-right-slot svg,
.emp-input-right-slot iconify-icon {
    width: 18px;
    height: 18px;
    font-size: 18px;
    flex-shrink: 0 !important;
}

/* ── Standardized Custom Alpine Dropdowns ── */
.db-dropdown-wrap {
    position: relative;
    width: 100%;
}

.db-dropdown-btn {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    text-align: left;
}

.db-dropdown-btn:hover {
    border-color: #CBD5E1;
}

.db-dropdown-btn:focus,
.db-dropdown-btn.active,
.db-dropdown-btn.is-open {
    border-color: #4F48E6;
    box-shadow: 0 0 0 3px rgba(79, 72, 230, 0.12);
}

.emp-input-with-icon .db-dropdown-btn {
    padding-left: 40px !important;
}

.db-dropdown-btn .db-dropdown-chevron {
    width: 14px;
    height: 14px;
    color: #64748B;
    transition: transform 0.2s ease;
    flex-shrink: 0 !important;
}

.db-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    z-index: 100;
    padding: 6px;
    box-sizing: border-box;
}

.db-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 500;
    color: #334155;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.db-dropdown-item:hover {
    background: #F8FAFC;
    color: #0F172A;
}

.db-dropdown-item.is-selected,
.db-dropdown-item.active {
    background: #EEF2FF;
    color: #4F48E6;
    font-weight: 600;
}

/* ── Standardized Textarea ── */
.emp-textarea {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13.5px;
    color: #0F172A;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
    line-height: 1.6;
    box-sizing: border-box;
    resize: vertical;
}

.emp-textarea:focus {
    border-color: #4F48E6;
    box-shadow: 0 0 0 3px rgba(79, 72, 230, 0.12);
}

.emp-textarea::placeholder {
    color: #94A3B8;
}

/* ── Standardized Segmented Control ── */
.emp-segmented-control {
    display: flex;
    align-items: center;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 3px;
    gap: 3px;
    width: 100%;
    box-sizing: border-box;
}

.emp-segment-btn {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 8px 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748B;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

.emp-segment-btn:hover {
    color: #0F172A;
}

.emp-segment-btn.active {
    background: #FFFFFF;
    color: #4F48E6;
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    font-weight: 700;
}


/* CV reading badge spinner (signup step 5) */
.ob-cv-spin { animation: obCvSpin 1s linear infinite; }
@keyframes obCvSpin { to { transform: rotate(360deg); } }
