@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/*
 * AI Workforce Hiring Manager - Redesigned Premium Frontend Stylesheet (High-Density Compact Layout)
 */

.awhm-directory-wrap {
    --awhm-primary: #4f46e5;
    --awhm-primary-hover: #4338ca;
    --awhm-secondary: #0ea5e9;
    --awhm-success: #10b981;
    --awhm-warning: #f59e0b;
    --awhm-danger: #ef4444;
    
    --awhm-bg-glass: rgba(255, 255, 255, 0.45);
    --awhm-border-glass: rgba(255, 255, 255, 0.5);
    --awhm-shadow-glass: 0 10px 40px -10px rgba(31, 38, 135, 0.05);
    
    --awhm-txt-color: #334155;
    --awhm-txt-muted: #64748b;
    --awhm-bg-dark: #0f172a;
    --awhm-border: #e2e8f0;

    color: var(--awhm-txt-color);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   1. Glassmorphic Filter Panel & Inputs
   ========================================================================== */
.awhm-front-filter-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.45) 100%) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.04), inset 0 1px 2px rgba(255, 255, 255, 0.5) !important;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.awhm-front-filter-panel:hover {
    box-shadow: 0 20px 45px rgba(31, 38, 135, 0.07), inset 0 1px 2px rgba(255, 255, 255, 0.55) !important;
}

.awhm-front-group {
    display: flex;
    flex-direction: column;
}

.awhm-front-group label {
    font-weight: 700;
    font-size: 11px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--awhm-txt-muted);
}

.awhm-front-group input[type="text"],
.awhm-front-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 10px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8) !important;
    color: #1e293b !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.01) !important;
}

.awhm-front-group input[type="text"]::placeholder {
    color: #94a3b8;
}

.awhm-front-group input[type="text"]:focus,
.awhm-front-group select:focus {
    border-color: rgba(79, 70, 229, 0.4) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08) !important;
    outline: none;
}

/* Custom Range Slider */
.awhm-front-group input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: #e2e8f0 !important;
    height: 6px;
    border-radius: 9999px;
    outline: none;
    border: none !important;
}

.awhm-front-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--awhm-primary) !important;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.3);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.awhm-front-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.25);
    background: var(--awhm-primary-hover) !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.4);
}

/* Active Chips */
.awhm-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    background: rgba(79, 70, 229, 0.06) !important;
    color: var(--awhm-primary) !important;
    border: 1px solid rgba(79, 70, 229, 0.12) !important;
    padding: 5px 12px;
    border-radius: 9999px;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.awhm-filter-chip:hover {
    background: rgba(79, 70, 229, 0.1) !important;
    transform: translateY(-1px);
}

.awhm-filter-chip-remove {
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    line-height: 1;
    color: var(--awhm-txt-muted) !important;
    transition: color 0.2s ease;
}

.awhm-filter-chip-remove:hover {
    color: var(--awhm-danger) !important;
}


/* ==========================================================================
   2. Worker Cards Layout & Grid Core (High-Density Left-Aligned Design)
   ========================================================================== */
.awhm-front-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.awhm-front-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.45) 100%) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.04) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.awhm-front-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12) !important;
    border-color: rgba(79, 70, 229, 0.3) !important;
}

/* Featured accent line and soft gold gradient */
.awhm-front-card.featured {
    background: linear-gradient(135deg, rgba(255, 253, 242, 0.95) 0%, rgba(255, 250, 224, 0.8) 100%) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.08) !important;
}

.awhm-front-card.featured:hover {
    box-shadow: 0 20px 45px rgba(245, 158, 11, 0.18) !important;
    border-color: rgba(245, 158, 11, 0.55) !important;
}

.awhm-front-card.featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

/* Status Bar & Inline Featured Badge (No overlaps) */
.awhm-card-top-bar {
    display: flex;
    justify-content: flex-start !important;
    align-items: center;
    gap: 8px !important;
    width: 100%;
    margin-bottom: 16px;
    flex-wrap: wrap !important;
}

.awhm-top-dot {
    display: none !important;
}

.awhm-front-card-badge-inline {
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
    color: #b45309 !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    box-shadow: 0 1px 3px rgba(180, 83, 9, 0.08) !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.awhm-featured-text {
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    color: #b45309 !important;
    display: inline-block !important;
}

.awhm-featured-icon {
    width: 11px !important;
    height: 11px !important;
    color: #b45309 !important;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

.awhm-front-card-exp-inline {
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    background: rgba(79, 70, 229, 0.08) !important;
    color: #4f46e5 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(79, 70, 229, 0.25) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Work Chain Verified Badge */
.awhm-verified-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #059669 !important; /* solid emerald green */
    border: none !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    margin: 0 !important;
    vertical-align: middle !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease;
}

.theme-neon-dark .awhm-verified-badge {
    background: #059669 !important;
    border: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.awhm-verified-icon {
    width: 11px !important;
    height: 11px !important;
    color: #ffffff !important;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.awhm-verified-text {
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    display: inline-block !important;
}

.awhm-verified-badge.modal-badge {
    padding: 5px 12px !important;
    margin-left: 8px !important;
}

.awhm-verified-badge.modal-badge .awhm-verified-icon {
    width: 11px !important;
    height: 11px !important;
}

.awhm-verified-badge.modal-badge .awhm-verified-text {
    font-size: 10px !important;
}

/* Availability Badge */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.awhm-avail-indicator {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
}

.awhm-avail-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.status-available {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
}
.status-available .awhm-avail-dot {
    background: #10b981;
    animation: pulse-glow 2s infinite;
}

.status-busy {
    background: #fffbeb !important;
    color: #d97706 !important;
    border: 1px solid rgba(217, 119, 6, 0.2) !important;
}
.status-busy .awhm-avail-dot {
    background: #f59e0b;
}

.status-unavailable {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid rgba(220, 38, 38, 0.2) !important;
}
.status-unavailable .awhm-avail-dot {
    background: #ef4444;
}

/* Profile Content (Left-Aligned Structure) */
.awhm-front-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    height: 100%;
}

.awhm-front-name {
    text-align: left;
    font-size: 19px !important;
    font-weight: 800 !important;
    margin: 0 0 4px 0 !important;
    color: #0f172a !important;
    letter-spacing: -0.4px !important;
    line-height: 1.25 !important;
}

.awhm-front-title {
    text-align: left;
    font-size: 13.5px !important;
    color: var(--awhm-primary) !important;
    margin: 0 0 12px 0 !important;
    font-weight: 600 !important;
    line-height: 1.4;
    width: 100%;
}

.awhm-front-title-divider {
    color: #cbd5e1;
    margin: 0 6px;
    font-weight: 300;
}

.awhm-front-id-label {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    color: var(--awhm-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    opacity: 0.85;
}

/* Metadata Text List Rows (High-density replacement of tables/grids) */
.awhm-front-info-rows {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-bottom: 16px !important;
    border-top: 1px dashed rgba(226, 232, 240, 0.8) !important;
    padding-top: 12px !important;
    width: 100% !important;
}

.awhm-front-info-row-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.awhm-front-info-row {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: #64748b !important;
}

.awhm-front-info-divider {
    color: #cbd5e1 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    user-select: none !important;
}

.awhm-meta-icon {
    color: #94a3b8 !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}

.awhm-info-value {
    color: #475569 !important;
}

/* Description / Bio Box */
.awhm-front-desc-box {
    background: rgba(248, 250, 252, 0.55) !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(241, 245, 249, 0.8) !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.awhm-front-card-desc {
    font-size: 12.5px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    text-align: left;
    margin: 0 0 10px 0 !important;
}

/* Experience & Skills Sections & Labels styling */
.awhm-front-experience-section {
    margin-top: 10px !important;
    border-top: 1px dashed rgba(226, 232, 240, 0.8) !important;
    padding-top: 10px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-align: left !important;
}

.awhm-front-exp-label {
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--awhm-txt-muted) !important;
    display: inline-block !important;
    margin: 0 !important;
    text-align: left !important;
}

.awhm-front-skills-section {
    margin-top: 10px !important;
    border-top: 1px dashed rgba(226, 232, 240, 0.8) !important;
    padding-top: 10px !important;
    width: 100% !important;
}

/* If experience section is present first, skills section shouldn't double the top border */
.awhm-front-experience-section + .awhm-front-skills-section {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 8px !important;
}

.awhm-front-skills-label {
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--awhm-txt-muted) !important;
    display: block !important;
    margin-bottom: 6px !important;
    text-align: left !important;
}

.awhm-front-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    margin-bottom: 0 !important;
    width: 100%;
}

.awhm-front-skill-pill {
    font-size: 10.5px !important;
    background: rgba(79, 70, 229, 0.05) !important;
    border: 1px solid rgba(79, 70, 229, 0.1) !important;
    color: var(--awhm-primary) !important;
    padding: 3px 9px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
}

.awhm-front-skill-pill:hover {
    background: var(--awhm-primary) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* Buttons Row */
.awhm-front-buttons-row {
    display: flex !important;
    gap: 10px !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto !important;
    border-top: none !important;
    padding-top: 0 !important;
}

.awhm-btn-download-cv {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(79, 70, 229, 0.25) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    color: var(--awhm-primary) !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex: none !important;
    box-sizing: border-box !important;
}

.awhm-btn-download-cv:hover {
    background: rgba(79, 70, 229, 0.05) !important;
    border-color: var(--awhm-primary) !important;
    color: var(--awhm-primary-hover) !important;
    transform: translateY(-2px) !important;
}

.awhm-btn-view-profile {
    background: linear-gradient(135deg, var(--awhm-primary) 0%, var(--awhm-primary-hover) 100%) !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    width: auto !important;
    flex-grow: 1 !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15) !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
}

.awhm-btn-view-profile:hover {
    background: linear-gradient(135deg, var(--awhm-primary-hover) 0%, var(--awhm-primary) 100%) !important;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3) !important;
    transform: translateY(-2px) !important;
}


/* ==========================================================================
   3. Design Looks / Themes REDESIGNS (Centered text, No Avatars)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Theme: Frosted Glassmorphism (classic-glass)
   -------------------------------------------------------------------------- */
.theme-classic-glass .awhm-front-card {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px -10px rgba(31, 38, 135, 0.05), inset 0 1px 2px rgba(255,255,255,0.45) !important;
}

.theme-classic-glass .awhm-front-card:hover {
    transform: translateY(-4px) scale(1.01) !important;
    border-color: rgba(79, 70, 229, 0.45) !important;
    background: rgba(255, 255, 255, 0.6) !important;
}

.theme-classic-glass .awhm-front-name {
    color: #0f172a !important;
}

.theme-classic-glass .awhm-front-title {
    color: var(--awhm-primary) !important;
}

.theme-classic-glass .awhm-front-skill-pill {
    background: rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: #334155 !important;
}

.theme-classic-glass .awhm-btn-view-profile {
    background: var(--awhm-primary) !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25) !important;
}

/* --------------------------------------------------------------------------
   Theme: Warm Professional (warm-pro)
   -------------------------------------------------------------------------- */
.theme-warm-pro .awhm-front-card {
    background: #fdfdfa !important;
    border: 1px solid #e7e2d8 !important;
    box-shadow: 0 8px 30px -10px rgba(139, 92, 26, 0.03) !important;
    border-radius: 16px !important;
}

.theme-warm-pro .awhm-front-card:hover {
    transform: translateY(-4px) !important;
    border-color: #b45309 !important;
    background: #ffffff !important;
}

.theme-warm-pro .awhm-front-card.featured {
    border-color: #f59e0b !important;
    background: linear-gradient(180deg, #fdfdfa 0%, #fffbeb 100%) !important;
}

.theme-warm-pro .awhm-front-name {
    color: #1c1917 !important;
}

.theme-warm-pro .awhm-front-title {
    color: #b45309 !important;
}

.theme-warm-pro .awhm-front-id-label {
    color: #b45309 !important;
}

.theme-warm-pro .awhm-info-value {
    color: #1c1917 !important;
}

.theme-warm-pro .awhm-front-skill-pill {
    background: #f5f2eb !important;
    border-color: #e2dcd0 !important;
    color: #78716c !important;
}

.theme-warm-pro .awhm-btn-view-profile {
    background: #78350f !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(120, 53, 15, 0.15) !important;
}

.theme-warm-pro .awhm-btn-view-profile:hover {
    background: #451a03 !important;
    box-shadow: 0 8px 20px rgba(120, 53, 15, 0.25) !important;
}

.theme-warm-pro .awhm-btn-download-cv {
    color: #78350f !important;
}

/* --------------------------------------------------------------------------
   Theme: Sleek Dark Mode (neon-dark)
   -------------------------------------------------------------------------- */
.theme-neon-dark .awhm-front-card {
    background: #0b0f19 !important;
    border: 1px solid #1a2333 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35) !important;
    border-radius: 16px !important;
}

.theme-neon-dark .awhm-front-card:hover {
    transform: translateY(-4px) !important;
    border-color: #06b6d4 !important;
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.15), 0 0 0 1px rgba(6, 182, 212, 0.1) !important;
}

.theme-neon-dark .awhm-front-card.featured {
    border-color: rgba(6, 182, 212, 0.35) !important;
    background: linear-gradient(180deg, #0b0f19 0%, #0c172a 100%) !important;
}

.theme-neon-dark .awhm-front-name {
    color: #f8fafc !important;
}

.theme-neon-dark .awhm-front-title {
    color: #06b6d4 !important;
}

.theme-neon-dark .awhm-front-id-label {
    color: #06b6d4 !important;
}

.theme-neon-dark .awhm-info-value {
    color: #e2e8f0 !important;
}

.theme-neon-dark .awhm-info-label {
    color: #64748b !important;
}

.theme-neon-dark .awhm-front-card-desc {
    color: #94a3b8 !important;
}

.theme-neon-dark .awhm-front-skill-pill {
    background: #172237 !important;
    border-color: #27354f !important;
    color: #cbd5e1 !important;
}

.theme-neon-dark .awhm-btn-view-profile {
    background: #06b6d4 !important;
    color: #0b0f19 !important;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.2) !important;
}

.theme-neon-dark .awhm-btn-view-profile:hover {
    background: #22d3ee !important;
}

.theme-neon-dark .awhm-btn-download-cv {
    color: #06b6d4 !important;
}

.theme-neon-dark .awhm-avail-indicator.status-available {
    background: rgba(12, 166, 120, 0.12) !important;
    color: #38d9a9 !important;
    border: 1px solid rgba(12, 166, 120, 0.25) !important;
}

/* --------------------------------------------------------------------------
   Theme: Vibrant Royal Gradient (royal-gradient)
   -------------------------------------------------------------------------- */
.theme-royal-gradient .awhm-front-card {
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
    border-radius: 16px !important;
    padding-top: 25px !important;
}

.theme-royal-gradient .awhm-front-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4f46e5 0%, #ec4899 50%, #ff922b 100%);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.theme-royal-gradient .awhm-front-card:hover {
    transform: translateY(-4px) !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.07) !important;
}

.theme-royal-gradient .awhm-front-card.featured::before {
    height: 7px;
    background: linear-gradient(90deg, #f59e0b 0%, #f06595 50%, #845ef7 100%);
}

.theme-royal-gradient .awhm-front-name {
    color: #0f172a !important;
}

.theme-royal-gradient .awhm-front-title {
    color: #862e9c !important;
}

.theme-royal-gradient .awhm-front-id-label {
    color: #ec4899 !important;
}

.theme-royal-gradient .awhm-front-skill-pill {
    background: rgba(79, 70, 229, 0.04) !important;
    border-color: rgba(79, 70, 229, 0.08) !important;
    color: #4f46e5 !important;
}

.theme-royal-gradient .awhm-btn-view-profile {
    background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%) !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.25) !important;
}

.theme-royal-gradient .awhm-btn-download-cv {
    color: #ec4899 !important;
}

/* --------------------------------------------------------------------------
   Theme: Modern Executive (modern-executive - Avatar-less clean stack)
   -------------------------------------------------------------------------- */
.theme-modern-executive .awhm-front-card {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.03) !important;
    padding: 20px !important;
}

.theme-modern-executive .awhm-front-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-4px) !important;
}

.theme-modern-executive .awhm-front-card.featured {
    border-color: #ffe8cc !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffbf7 100%) !important;
}

.theme-modern-executive .awhm-card-top-bar {
    margin-bottom: 12px !important;
}

.theme-modern-executive .awhm-top-dot {
    background: var(--awhm-primary) !important;
    width: 6px;
    height: 6px;
}

.theme-modern-executive .awhm-avail-indicator {
    padding: 4px 10px !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    border-radius: 6px !important;
}

.theme-modern-executive .awhm-avail-dot {
    display: none !important;
}

.theme-modern-executive .awhm-front-card-body {
    align-items: flex-start !important;
    text-align: left !important;
    width: 100%;
}

.theme-modern-executive .awhm-front-name {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 3px !important;
}

.theme-modern-executive .awhm-front-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin: 0 0 10px 0 !important;
}

.theme-modern-executive .awhm-front-info-rows {
    border-top: 1px dashed #e2e8f0;
    padding-top: 10px;
    margin-bottom: 12px;
}

.theme-modern-executive .awhm-info-label {
    color: #94a3b8 !important;
}

.theme-modern-executive .awhm-info-value {
    color: #334155 !important;
}

.theme-modern-executive .awhm-front-desc-box {
    background: #f8fafc !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    margin-bottom: 15px;
}

.theme-modern-executive .awhm-front-card-desc {
    font-size: 11px !important;
    color: #64748b !important;
}

.theme-modern-executive .awhm-front-skill-pill {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #475569 !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
}

.theme-modern-executive .awhm-btn-download-cv {
    color: #228be6 !important;
}

.theme-modern-executive .awhm-btn-view-profile {
    background: #228be6 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 8px rgba(34, 139, 230, 0.12) !important;
}

.theme-modern-executive .awhm-btn-view-profile:hover {
    background: #1c7ed6 !important;
}


/* ==========================================================================
   4. Pagination, Loader, and Layout Overrides
   ========================================================================== */
.awhm-front-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 45px;
}

.awhm-page-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--awhm-txt-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.awhm-page-link:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.awhm-page-link.active {
    background: var(--awhm-primary) !important;
    color: #fff !important;
    border-color: var(--awhm-primary) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

/* Loading Overlay */
.awhm-front-loader-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    z-index: 10;
}

.awhm-loading-spinner {
    border: 3px solid rgba(0, 0, 0, 0.05);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: var(--awhm-primary);
    animation: awhm-spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes awhm-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.awhm-front-no-results {
    text-align: center;
    padding: 80px 20px;
    background: var(--awhm-bg-glass);
    border: 1px solid var(--awhm-border-glass);
    border-radius: 20px;
    box-shadow: var(--awhm-shadow-glass);
}


/* ==========================================================================
   5. Modal & Inquiry Form UI
   ========================================================================== */
.awhm-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.awhm-modal-container {
    background: #fff;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    border-radius: 24px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
    animation: awhm-modal-slide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes awhm-modal-slide {
    from { transform: translateY(30px) scale(0.98); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.awhm-modal-close-btn {
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 28px;
    font-weight: 300;
    background: #f1f3f5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    color: #495057;
    transition: all 0.2s ease;
    z-index: 10;
}

.awhm-modal-close-btn:hover {
    background: #e9ecef;
    color: #000;
}

#awhm-modal-content {
    padding: 40px;
}

/* Modal details layout */
.awhm-detail-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .awhm-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.awhm-detail-sidebar {
    border-right: 1px solid #f1f3f5;
    padding-right: 30px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .awhm-detail-sidebar {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #f1f3f5;
        padding-bottom: 30px;
    }
}

.awhm-detail-name {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #0f172a;
    line-height: 1.25;
}

.awhm-detail-title {
    font-size: 14px;
    color: var(--awhm-primary);
    margin: 0;
    font-weight: 700;
}

/* Modal Key Details list */
.awhm-detail-meta-box {
    background: #0f172a;
    color: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-top: 25px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.awhm-detail-meta-box h4 {
    margin: 0 0 15px 0;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    color: #94a3b8;
}

/* Modal Sections */
.awhm-detail-section {
    margin-bottom: 30px;
}

.awhm-detail-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    border-bottom: 1px solid #f1f3f5;
    padding-bottom: 8px;
}

.awhm-detail-summary {
    font-size: 14px;
    line-height: 1.7;
    color: #334155;
}

/* Main Modal Action Buttons */
.awhm-front-btn-primary {
    background: var(--awhm-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.2);
}

.awhm-front-btn-primary:hover {
    background: var(--awhm-primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.awhm-front-btn-secondary {
    background: #fff;
    color: #495057;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 700;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.awhm-front-btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.awhm-front-btn-download {
    background: #fff;
    color: var(--awhm-primary);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 700;
    padding: 12px;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

.awhm-front-btn-download:hover {
    background: rgba(79, 70, 229, 0.04);
    border-color: var(--awhm-primary);
    color: var(--awhm-primary) !important;
}

/* Modal Form Fields */
#awhm-modal-hire-form-wrapper {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02) !important;
}

#awhm-modal-hire-form-wrapper h4 {
    font-weight: 800;
    color: #0f172a;
    font-size: 15px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.awhm-front-form-grid label {
    font-weight: 700;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.awhm-front-form-grid input[type="text"],
.awhm-front-form-grid input[type="email"],
.awhm-front-form-grid textarea {
    padding: 10px 14px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    font-size: 13px;
    background: #fff;
    color: #1f2d3d;
    transition: all 0.2s ease;
}

.awhm-front-form-grid input:focus,
.awhm-front-form-grid textarea:focus {
    border-color: var(--awhm-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Submission Notices */
.awhm-front-notice {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin: 15px 0;
}

.awhm-front-notice.success { background: #e6fcf5; color: #0ca678; border: 1px solid rgba(12, 166, 120, 0.15); }
.awhm-front-notice.error { background: #fff5f5; color: #c92a2a; border: 1px solid rgba(201, 42, 42, 0.15); }
.awhm-front-notice.info { background: #e7f5ff; color: #1c7ed6; border: 1px solid rgba(28, 126, 214, 0.15); }

/* Success Box post-submission */
.awhm-after-hire-box {
    background: linear-gradient(180deg, #e6fcf5 0%, #f4fbf9 100%) !important;
    border: 1px solid rgba(12, 166, 120, 0.25) !important;
    box-shadow: 0 10px 25px rgba(12, 166, 120, 0.05) !important;
}

.awhm-after-hire-content {
    border-color: #d3f9ed !important;
    background: #ffffff !important;
    box-shadow: 0 4px 10px rgba(12, 166, 120, 0.02);
}


/* ==========================================================================
   6. Layout Overrides (List and Compact layouts)
   ========================================================================== */
.awhm-front-grid.layout-list {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
}

.awhm-front-grid.layout-list .awhm-front-card {
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    text-align: left !important;
    padding: 20px !important;
}

.awhm-front-grid.layout-list .awhm-front-card-body {
    align-items: flex-start !important;
    text-align: left !important;
    flex-grow: 1;
}

.awhm-front-grid.layout-list .awhm-front-name {
    text-align: left !important;
    align-items: flex-start !important;
}

.awhm-front-grid.layout-list .awhm-front-title {
    text-align: left !important;
    margin-bottom: 8px !important;
}

.awhm-front-grid.layout-list .awhm-front-info-rows {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin-bottom: 8px !important;
}

.awhm-front-grid.layout-list .awhm-front-skills-list {
    justify-content: flex-start !important;
    margin-bottom: 0 !important;
}

.awhm-front-grid.layout-list .awhm-front-buttons-row {
    width: auto !important;
    align-self: flex-end !important;
    border-top: none !important;
    padding-top: 0 !important;
}

@media (max-width: 600px) {
    .awhm-front-grid.layout-list .awhm-front-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px !important;
    }
    .awhm-front-grid.layout-list .awhm-front-card-body {
        align-items: center !important;
    }
    .awhm-front-grid.layout-list .awhm-front-name {
        align-items: center !important;
        text-align: center !important;
    }
    .awhm-front-grid.layout-list .awhm-front-title {
        text-align: center !important;
    }
    .awhm-front-grid.layout-list .awhm-front-info-rows {
        justify-content: center !important;
        flex-direction: column !important;
        gap: 4px !important;
    }
    .awhm-front-grid.layout-list .awhm-front-skills-list {
        justify-content: center !important;
    }
    .awhm-front-grid.layout-list .awhm-front-buttons-row {
        width: 100% !important;
        align-self: center !important;
        border-top: 1px solid rgba(226, 232, 240, 0.4) !important;
        padding-top: 12px !important;
    }
}

.awhm-front-grid.layout-compact {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
    gap: 15px !important;
}

.awhm-front-grid.layout-compact .awhm-front-card {
    padding: 15px !important;
}

.awhm-front-grid.layout-compact .awhm-front-name {
    font-size: 15px !important;
}

.awhm-front-grid.layout-compact .awhm-front-title {
    font-size: 12px !important;
}

.awhm-front-grid.layout-compact .awhm-front-info-rows {
    gap: 2px !important;
    margin-bottom: 8px !important;
}

.awhm-front-grid.layout-compact .awhm-info-label {
    min-width: 55px !important;
    font-size: 10px !important;
}

.awhm-front-grid.layout-compact .awhm-info-value {
    font-size: 11px !important;
}

.awhm-front-grid.layout-compact .awhm-front-skills-list {
    margin-bottom: 12px !important;
}

.awhm-front-grid.layout-compact .awhm-btn-view-profile {
    padding: 6px 12px !important;
    font-size: 15px !important;
}

/* ==========================================================================
   7. Mobile Responsiveness and UI/UX Alignments
   ========================================================================== */
@media (max-width: 768px) {
    #awhm-modal-content {
        padding: 20px !important;
    }
    .awhm-modal-close-btn {
        right: 15px !important;
        top: 15px !important;
    }
}

@media (max-width: 480px) {
    .awhm-front-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .awhm-front-card {
        padding: 18px !important;
    }
    .awhm-front-buttons-row {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .awhm-btn-download-cv,
    .awhm-btn-view-profile {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
}
