/* =========================
   VARIABLES
========================= */

:root {
    --primary: #1d5fa7;
    --primary-dark: #164b85;
    --primary-light: #eaf3fc;

    --background: #f4f7fa;
    --surface: #ffffff;

    --text-primary: #243746;
    --text-secondary: #657481;
    --text-light: #8a98a4;

    --border: #dce4eb;

    --success: #2d8a4e;

    --shadow-sm: 0 5px 18px rgba(31, 50, 69, 0.06);
    --shadow-md: 0 14px 35px rgba(31, 50, 69, 0.10);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
}

/* =========================
   GENERAL
========================= */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    background-color: var(--background);
    color: var(--text-primary);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}

a {
    text-decoration: none;
}

/* =========================
   NAVBAR
========================= */

.app-navbar {
    position: relative;
    z-index: 20;
    min-height: 82px;
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(31, 50, 69, 0.04);
}

.app-navbar-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.app-brand:hover {
    color: var(--text-primary);
}

.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo img {
    height: 56px;
    width: auto;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    color: var(--primary);
    font-size: 21px;
    font-weight: 750;
    letter-spacing: -0.4px;
}

.brand-text small {
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.navbar-company {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.company-status {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background-color: #36a861;
    box-shadow: 0 0 0 4px #e7f6ec;
}

/* =========================
   MAIN
========================= */

.app-main {
    padding: 46px 0 60px;
}

/* =========================
   HOME
========================= */

.home-page {
    width: 100%;
    display: flex;
    justify-content: center;
}

.home-hero {
    width: 100%;
    max-width: 720px;
    padding: 70px 50px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background-color: var(--surface);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.page-label {
    width: fit-content;
    display: block;
    margin: 0 auto 18px;
    padding: 7px 11px;
    border-radius: 50px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.9px;
}

.home-hero h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: 42px;
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -1.3px;
}

.home-hero p {
    max-width: 520px;
    margin: 20px auto 0;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.home-hero .app-primary-button {
    margin-top: 32px;
}

.app-primary-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    border: 1px solid var(--primary);
    border-radius: 11px;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(29, 95, 167, 0.20);
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.app-primary-button:hover {
    border-color: var(--primary-dark);
    background-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 11px 25px rgba(29, 95, 167, 0.25);
}

.app-primary-button:active {
    transform: translateY(0);
}

/* =========================
   BOOTSTRAP BASE OVERRIDES
========================= */

.form-control,
.form-select {
    min-height: 45px;
    border-color: var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(29, 95, 167, 0.65);
    box-shadow: 0 0 0 4px rgba(29, 95, 167, 0.10);
}

.form-label {
    margin-bottom: 7px;
    color: #344553;
    font-size: 13px;
    font-weight: 650;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 767px) {

    .app-main {
        padding-top: 28px;
    }

    .navbar-company {
        display: none;
    }

    .home-hero {
        padding: 48px 26px;
    }

    .home-hero h1 {
        font-size: 32px;
    }

    .home-hero p {
        font-size: 14px;
    }

}

/* =========================
   QUOTATION PAGE
========================= */

.quotation-page {
    width: 100%;
}

.quotation-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 26px;
}

.quotation-page-header h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: 32px;
    font-weight: 750;
    letter-spacing: -0.8px;
}

.quotation-page-header p {
    margin: 9px 0 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.secondary-link-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background-color: var(--surface);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 650;
    box-shadow: var(--shadow-sm);
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.secondary-link-button:hover {
    border-color: rgba(29, 95, 167, 0.45);
    color: var(--primary);
    transform: translateY(-1px);
}

/* =========================
   QUOTATION LAYOUT
========================= */

.quotation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.75fr);
    align-items: start;
    gap: 24px;
}

.quotation-form-column,
.quotation-summary-column {
    min-width: 0;
}

.quotation-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* =========================
   FORM SECTIONS
========================= */

.form-section {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--surface);
    box-shadow: var(--shadow-sm);
}

.form-section-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 21px 23px;
    border-bottom: 1px solid #e7edf2;
    background-color: #fbfcfd;
}

.section-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 19px;
}

.form-section-header h2 {
    margin: 1px 0 4px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 720;
}

.form-section-header p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.5;
}

.form-section-body {
    padding: 23px;
}

/* =========================
   RENTAL PERIOD
========================= */

.rental-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rental-form-group {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background-color: #fbfcfd;
}

.rental-form-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
}

.rental-form-title i {
    color: var(--primary);
}

/* =========================
   COVERAGES
========================= */

.coverage-included {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 17px;
}

.coverage-included-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid #dcebe2;
    border-radius: 11px;
    background-color: #f4faf6;
    color: #3e5d4a;
    font-size: 12px;
}

.coverage-included-item strong {
    color: var(--success);
}

.coverage-check {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #ddf2e4;
    color: var(--success);
    font-size: 14px;
}

.optional-coverage-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background-color: #ffffff;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.optional-coverage-card:hover {
    border-color: rgba(29, 95, 167, 0.40);
    background-color: #fbfdff;
    box-shadow: 0 5px 15px rgba(31, 50, 69, 0.05);
}

.optional-coverage-card .form-check-input {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    margin: 1px 0 0;
    border-color: #b9c6d1;
    cursor: pointer;
}

.optional-coverage-card .form-check-input:checked {
    border-color: var(--primary);
    background-color: var(--primary);
}

.optional-coverage-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.optional-coverage-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
}

.optional-coverage-heading strong {
    color: var(--primary);
    white-space: nowrap;
}

.optional-coverage-content small {
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.5;
}

/* =========================
   SUBMIT
========================= */

.quotation-submit-area {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 4px 0 8px;
}

.quotation-submit-button {
    min-width: 210px;
}

.quotation-submit-area p {
    margin: 0;
    color: var(--text-light);
    font-size: 11px;
}

/* =========================
   SUMMARY
========================= */

.quotation-summary-column {
    position: sticky;
    top: 24px;
}

.quotation-summary-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--surface);
    box-shadow: var(--shadow-md);
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 22px;
    border-bottom: 1px solid var(--border);
}

.summary-icon {
    width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 20px;
}

.summary-header span {
    color: var(--text-light);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 1px;
}

.summary-header h2 {
    margin: 2px 0 0;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 730;
}

.summary-vehicle {
    padding: 22px;
    border-bottom: 1px solid var(--border);
}

.summary-small-label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.summary-vehicle h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 750;
}

.summary-vehicle-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.summary-vehicle-features span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    border-radius: 7px;
    background-color: var(--background);
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 600;
}

.summary-vehicle-features i {
    color: var(--primary);
}

.summary-rental-period {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 22px;
    border-bottom: 1px solid var(--border);
}

.summary-rental-period strong {
    display: block;
    color: var(--text-primary);
    font-size: 18px;
}

.summary-days-icon {
    width: 39px;
    height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 18px;
}

.summary-locations {
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
}

.summary-location {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.summary-location small {
    display: block;
    margin-bottom: 2px;
    color: var(--text-light);
    font-size: 10px;
}

.summary-location strong {
    display: block;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
}

.location-dot {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    display: inline-block;
    margin-top: 4px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--border);
}

.pickup-dot {
    background-color: var(--primary);
}

.return-dot {
    background-color: var(--success);
}

.location-line {
    width: 1px;
    height: 22px;
    margin: 3px 0 3px 5px;
    background-color: var(--border);
}

.summary-price-details {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
}

.summary-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 11px;
    color: var(--text-secondary);
    font-size: 11px;
}

.summary-price-row:last-child {
    margin-bottom: 0;
}

.summary-price-row strong {
    color: var(--text-primary);
    font-weight: 700;
    text-align: right;
}

.summary-totals {
    padding: 20px 22px 22px;
    background-color: #fbfcfd;
}

.summary-card-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 13px;
    color: var(--text-secondary);
    font-size: 12px;
}

.summary-card-total strong {
    color: var(--text-primary);
    font-size: 19px;
}

.summary-cash-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px;
    border: 1px solid #cfe6d6;
    border-radius: 12px;
    background-color: #f0f8f3;
}

.summary-cash-total span {
    display: block;
    color: #3e5d4a;
    font-size: 11px;
    font-weight: 700;
}

.summary-cash-total small {
    display: block;
    max-width: 165px;
    margin-top: 3px;
    color: #70887a;
    font-size: 9px;
    line-height: 1.4;
}

.summary-cash-total strong {
    color: var(--success);
    font-size: 20px;
    white-space: nowrap;
}

/* =========================
   EMPTY SUMMARY
========================= */

.summary-empty-state {
    padding: 38px 28px 26px;
    text-align: center;
}

.summary-empty-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 16px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 25px;
}

.summary-empty-state h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 720;
}

.summary-empty-state p {
    margin: 10px 0 0;
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.6;
}

.summary-placeholder {
    padding: 0 22px 23px;
}

.placeholder-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 13px;
}

.placeholder-row span {
    height: 8px;
    border-radius: 20px;
    background-color: #edf1f4;
}

.placeholder-row span:first-child {
    width: 48%;
}

.placeholder-row span:last-child {
    width: 25%;
}

.placeholder-total {
    height: 65px;
    margin-top: 20px;
    border-radius: 12px;
    background-color: #f1f4f6;
}

/* =========================
   RESPONSIVE QUOTATION
========================= */

@media (max-width: 1199px) {

    .quotation-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
    }

    .rental-form-grid {
        grid-template-columns: 1fr;
    }

    .coverage-included {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 991px) {

    .quotation-layout {
        grid-template-columns: 1fr;
    }

    .quotation-summary-column {
        position: static;
    }

    .quotation-summary-card {
        max-width: none;
    }

}

@media (max-width: 767px) {

    .quotation-page-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .quotation-page-header h1 {
        font-size: 27px;
    }

    .secondary-link-button {
        width: 100%;
    }

    .form-section-header,
    .form-section-body {
        padding: 19px;
    }

    .quotation-submit-area {
        align-items: stretch;
        flex-direction: column;
    }

    .quotation-submit-button {
        width: 100%;
    }

    .quotation-submit-area p {
        text-align: center;
    }

    .optional-coverage-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .summary-cash-total {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================
   RESULT PAGE
========================= */

.result-page {
    width: 100%;
}

.result-success-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 27px;
}

.result-success-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background-color: #e1f4e7;
    color: var(--success);
    font-size: 27px;
}

.result-success-header h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: 32px;
    font-weight: 750;
    letter-spacing: -0.8px;
}

.result-success-header p {
    margin: 7px 0 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.result-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
    align-items: start;
    gap: 24px;
}

.result-main-card,
.result-summary-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--surface);
    box-shadow: var(--shadow-md);
}

.result-customer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 23px;
    border-bottom: 1px solid var(--border);
    background-color: #fbfcfd;
}

.result-customer span,
.result-label {
    color: var(--text-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.result-customer strong {
    color: var(--text-primary);
    font-size: 13px;
}

.result-vehicle {
    padding: 25px;
    border-bottom: 1px solid var(--border);
}

.result-vehicle h2 {
    margin: 6px 0 0;
    color: var(--text-primary);
    font-size: 25px;
    font-weight: 750;
}

.result-features {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 17px;
}

.result-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 8px;
    background-color: var(--background);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
}

.result-features i {
    color: var(--primary);
}

.result-rental-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 23px;
    border-bottom: 1px solid var(--border);
}

.result-rental-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background-color: #fbfcfd;
}

.result-rental-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 13px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
}

.result-rental-card strong {
    display: block;
    color: var(--text-primary);
    font-size: 16px;
}

.result-rental-card small {
    display: block;
    margin-top: 3px;
    color: var(--text-secondary);
    font-size: 12px;
}

.result-rental-card p {
    margin: 13px 0 0;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.5;
}

.result-days {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 19px 23px;
    border-bottom: 1px solid var(--border);
}

.result-days span {
    color: var(--text-secondary);
    font-size: 13px;
}

.result-days strong {
    color: var(--primary);
    font-size: 19px;
}

.result-price-list {
    padding: 21px 23px;
}

.result-price-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 13px;
    color: var(--text-secondary);
    font-size: 12px;
}

.result-price-list > div:last-child {
    margin-bottom: 0;
}

.result-price-list strong {
    color: var(--text-primary);
}

.result-summary-card {
    position: sticky;
    top: 24px;
}

.result-summary-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 22px;
    border-bottom: 1px solid var(--border);
}

.result-summary-heading small {
    color: var(--text-light);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 1px;
}

.result-summary-heading h2 {
    margin: 2px 0 0;
    font-size: 18px;
    font-weight: 730;
}

.result-card-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px;
    border-bottom: 1px solid var(--border);
}

.result-card-total span {
    color: var(--text-secondary);
    font-size: 12px;
}

.result-card-total strong {
    color: var(--text-primary);
    font-size: 21px;
}

.result-cash-total {
    margin: 20px 22px;
    padding: 17px;
    border: 1px solid #cfe6d6;
    border-radius: 12px;
    background-color: #f0f8f3;
}

.result-cash-total span {
    display: block;
    color: #3e5d4a;
    font-size: 12px;
    font-weight: 700;
}

.result-cash-total small {
    display: block;
    margin: 4px 0 12px;
    color: #70887a;
    font-size: 10px;
}

.result-cash-total strong {
    display: block;
    color: var(--success);
    font-size: 25px;
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 0 22px 22px;
}

.result-action-button {
    width: 100%;
}

@media (max-width: 991px) {

    .result-layout {
        grid-template-columns: 1fr;
    }

    .result-summary-card {
        position: static;
    }

}

@media (max-width: 767px) {

    .result-success-header {
        align-items: flex-start;
    }

    .result-success-header h1 {
        font-size: 27px;
    }

    .result-rental-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================
   LANGUAGE SELECTOR
========================= */

.quotation-language-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.language-option {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background-color: var(--surface);
    color: var(--text-primary);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.language-option:hover {
    border-color: rgba(29, 95, 167, 0.45);
    background-color: #fbfdff;
    transform: translateY(-1px);
}

.language-code {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.language-option > span:last-child {
    display: flex;
    flex-direction: column;
}

.language-option strong {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
}

.language-option small {
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: 10px;
}

.btn-check:checked + .language-option {
    border-color: var(--primary);
    background-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(29, 95, 167, 0.09);
}

.btn-check:checked + .language-option .language-code {
    background-color: var(--primary);
    color: #ffffff;
}

@media (max-width: 576px) {

    .quotation-language-selector {
        grid-template-columns: 1fr;
    }

}
