/**
 * Spontaneous Application Buttons Styles
 *
 * Styling for the dual spontaneous application buttons
 * displayed on the careers landing page.
 */

/* Section Container */
.spontaneous-applications-section {
    width: 100%;
    padding: 1rem 0;
    background-color: transparent;
}

/* Buttons Container */
.spontaneous-applications-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 3rem;
}

/* Base Button Styles (can be overridden by ACF inline styles) */
.spont-app-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;

    /* Smooth transitions */
    transition: all 300ms ease-in-out !important;
}

/* Remove default link styling */
.spont-app-button:visited {
    color: inherit;
}

/* Hover Effect */
.spont-app-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

/* Active Effect */
.spont-app-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Focus State (accessibility) */
.spont-app-button:focus {
    text-decoration: none;
    color: inherit;
}

/* Button Text */
.spont-app-button .button-text {
    line-height: 1.3;
    display: inline-block;
}

/* Arrow Icon Container */
.spont-app-button .accordion-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 100%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.spont-app-button:hover .accordion-arrow {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateX(2px);
}

/* Arrow SVG */
.spont-app-button .accordion-arrow svg {
    width: 1rem;
    height: 1rem;
}

.spont-app-button .accordion-arrow svg line {
    stroke: white;
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .spontaneous-applications-section {
        padding: 2rem 0;
    }

    .spontaneous-applications-container {
        flex-direction: column;
        padding: 0 1.5rem;
        gap: 1rem;
    }

    .spont-app-button {
        width: 100%;
        max-width: 400px;
    }

    .spont-app-button .accordion-arrow {
        width: 1.5rem;
        height: 1.5rem;
    }

    .spont-app-button .accordion-arrow svg {
        width: 0.875rem;
        height: 0.875rem;
    }
}

/* Small Screens */
@media (max-width: 480px) {
    .spontaneous-applications-container {
        padding: 0 1rem;
    }

    .spont-app-button {
        font-size: 0.85rem;
    }
}

/* Print - hide buttons */
@media print {
    .spontaneous-applications-section {
        display: none;
    }
}
