/* ==========================================================================
   Careers Page Styles - Local SEO Agency Ireland
   ========================================================================== */

/* Base utility overrides */
.mono {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.14em !important;
    font-family: 'JetBrains Mono', monospace !important;
}

.mono::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 1.5px;
    background-color: #ff6b1a;
}

.no-dash.mono::before,
.no-dash::before {
    display: none !important;
}

.serif-i {
    color: #ff6b1a !important;
    font-style: italic;
    font-weight: 400;
    font-family: 'Playfair Display', Georgia, serif !important;
}

/* Map styling */
.global-map-container {
    position: relative;
    background-color: #FAF7F2;
}

.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.map-pin .pin-core {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff6b1a;
    border: 2px solid #ffffff;
    box-shadow: 0 0 10px rgba(255, 107, 26, 0.6);
    transition: transform 0.3s ease;
}

.map-pin:hover .pin-core,
.map-pin.active .pin-core {
    transform: scale(1.3);
    background: #e05610;
}

.map-pin .pin-pulse {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 107, 26, 0.4);
    animation: pin-pulse 2s infinite ease-out;
    pointer-events: none;
}

@keyframes pin-pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* White floating card styling */
.office-white-card {
    background: #ffffff !important;
    border: 1px solid rgba(10, 10, 10, 0.08) !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    border-radius: 16px !important;
    color: #0a0a0a !important;
    transition: all 0.3s ease;
}

.location-tab-btn {
    background: #ffffff;
    border: 1px solid rgba(10, 10, 10, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.location-tab-btn:hover {
    border-color: #ff6b1a;
    background: rgba(255, 107, 26, 0.03);
}

.location-tab-btn.active {
    border-color: #ff6b1a;
    background: rgba(255, 107, 26, 0.06);
    box-shadow: 0 8px 24px rgba(255, 107, 26, 0.12);
}

/* Filter buttons */
.filter-btn {
    transition: all 0.2s ease;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.05em;
}

.filter-btn.active {
    background-color: #0a0a0a;
    color: #ffffff;
    border-color: #0a0a0a;
}

/* Form styling */
.custom-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(10, 10, 10, 0.12);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    color: #0a0a0a;
    transition: all 0.2s ease;
    outline: none;
}

.custom-input:focus {
    border-color: #ff6b1a;
    box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.15);
}

/* Buttons */
.btn-flame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ff6b1a;
    color: #ffffff;
    font-weight: 600;
    border-radius: 9999px;
    padding: 14px 28px;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px -4px rgba(255, 107, 26, 0.4);
}

.btn-flame:hover {
    background: #e05610;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(255, 107, 26, 0.5);
    color: #ffffff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #0a0a0a;
    font-weight: 600;
    border: 1px solid rgba(10, 10, 10, 0.15);
    border-radius: 9999px;
    padding: 14px 28px;
    transition: all 0.25s ease;
}

.btn-outline:hover {
    border-color: #0a0a0a;
    background: #faf8f4;
    transform: translateY(-2px);
}

/* FAQ Styling */
.faq-row {
    cursor: pointer;
    padding: 24px 0;
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.2s;
}

.faq-row .q {
    font-family: 'Inter', sans-serif;
    font-weight: 400 !important;
    color: #0a0a0a;
    transition: color 0.2s ease;
}

.faq-row:hover .q,
.faq-row.open .q {
    color: #ff6b1a;
}

.faq-row .plus svg {
    transition: transform 0.3s ease;
}

.faq-row.open .plus svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    color: rgba(10, 10, 10, 0.65);
    font-size: 16px;
    line-height: 1.7;
}

.faq-row.open + .faq-answer {
    max-height: 250px;
    padding-bottom: 24px;
}
