/* Job Application Form – custom overrides and company tiles (Bootstrap for layout) */

/* Central column and gradient background */
.page-body {
    min-height: 100vh;
    background: linear-gradient(160deg, #e47425 0%, #e4843a 15%, #eeb896 35%, #f5d4c4 55%, #fce8dc 75%, #fffaf7 100%);
    background-attachment: fixed;
}

.central-column {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    padding: 2rem;
}

@media (min-width: 576px) {
    .central-column {
        padding: 2.5rem;
    }
}

/* Company tiles with logos */
.company-tiles {
    border: none;
    margin: 0;
    padding: 0;
}

.company-tiles legend {
    margin-bottom: 0.75rem;
}

/* Two rows only: 5 + 4 tiles */
.company-tiles__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.company-tiles__cell {
    min-width: 0;
}

.company-tile {
    min-height: 100px;
    border-width: 2px !important;
    transition: border-color 0.15s, background-color 0.15s;
}

.company-tile:hover {
    border-color: var(--bs-primary) !important;
    background-color: rgba(var(--bs-primary-rgb), 0.08);
}

.company-tile.selected {
    border-color: var(--bs-primary) !important;
    background-color: rgba(var(--bs-primary-rgb), 0.12);
}

.company-tile__logo {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
}

.company-tile__fallback {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Submit button */
.form-actions {
    margin-top: 0.5rem;
}

.btn-submit {
    min-width: 280px;
    padding: 0.6rem 1.5rem;
    background-color: #e47425;
    border-color: #e47425;
    color: #fff;
}

.btn-submit:hover {
    background-color: #d36920;
    border-color: #d36920;
    color: #fff;
}
