/* ==========================
   Utility Classes
   ========================== */

/* Display */
.hidden { display: none !important; }
.block { display: block; }
.flex { display: flex; }

/* Flex */
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.gap-3 { gap: .75rem; }

/* Text */
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.text-brand-icon { color: #4b5563; }

/* Margin */
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

/* Padding */
.px-5 { padding-inline: 1.25rem; }
.px-6 { padding-inline: 1.5rem; }
.px-8 { padding-inline: 2rem; }
.py-3 { padding-block: .75rem; }

/* Width */
.w-full { width: 100%; }

/* Background */
.bg-white { background: #fff; }
.bg-brand-dark8 { background: #f4f6f9; }

/* Border */
.border { border: 1px solid; }
.border-brand-stroke { border-color: #d8dde5; }

.rounded-md { border-radius: .375rem; }
.rounded-lg { border-radius: .5rem; }

/* Position */
.relative { position: relative; }

.state-title, .line-of-credits, .fallback-message, small, .state-select  {
    font-family: Inter;
}

/* Buttons */
.btn {
    display: flex;
    align-items: center;
    font-weight: 700;
    justify-content: center;
    text-decoration: none;
    transition-duration: .5s !important;
    transition-timing-function: ease !important;
    padding: 12px 28px;
}

.btn-blue {
    background: #004699;
    color: #fff !important;
    border-radius: 6px;
    transition: all .2s;
}

.btn-blue-transparent {
    color: #004699 !important;
    border: 1px solid #004699;
    border-radius: 6px;
    font: 700 16px/24px inherit;
}

.btn:hover {
    transform: scale(1.05);
}

.line-of-credits {
    margin-bottom: 18px !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #333;
}

.state-title {
    font-size: 31px;
    font-weight: 700;
    line-height: 24px;
    color: #0063C6;
}

/* Important */
.\!no-underline {
    text-decoration: none !important;
}

/* Order */
.order-1 { order: 1; }
.order-2 { order: 2; }

/* ==========================
   Responsive
   ========================== */

@media (min-width:1024px) {

    .lg\:flex-row { flex-direction: row; }

    .lg\:px-14 { padding-inline: 3.5rem; }

    .lg\:py-8 { padding-block: 2rem; }

    .lg\:order-1 { order: 1; }

    .lg\:order-2 { order: 2; }
}

/* ==========================
   Location Card
   ========================== */

.location-box {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 32px 55px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* Header */

.location-box .info-wrapper {
    margin-bottom: 12px;
    text-align: center;
}

.location-box .info-wrapper small {
    display: block;
    color: #333;
    font-size: 13px;
    line-height: 18px;
}

/* Select */

.location-box .state-select {
    width: 100%;
    height: 56px;
    padding: 12px 20px;
    border: 1px solid #DFE4EA;
    border-radius: 6px;
    background:
        #E5E7EB
        url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2716%27%20height%3D%2716%27%20viewBox%3D%270%200%2016%2016%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M13.5854%204.9856C13.6803%204.89077%2013.8197%204.89077%2013.9146%204.9856C14.0086%205.07977%2014.0094%205.21801%2013.9165%205.31274L8.1665%2010.9622L8.16455%2010.9641C8.06824%2011.0604%208.02264%2011.0667%207.99951%2011.0667C7.93967%2011.0666%207.88852%2011.0508%207.81689%2010.9954L2.0835%205.36255C1.99062%205.26778%201.99128%205.12957%202.08545%205.0354C2.18027%204.94067%202.31976%204.94061%202.41455%205.0354L2.41748%205.03833L7.76709%2010.2639L8.00146%2010.4924L8.23389%2010.262L13.5835%204.98755L13.5854%204.9856Z%27%20fill%3D%27%236B7280%27%20stroke%3D%27%236B7280%27%20stroke-width%3D%270.666667%27/%3E%3C/svg%3E")
        no-repeat right 18px center / 20px;
    color: #4b5563;
    font-size: 16px;
    line-height: 24px !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.location-box .state-select:focus {
    outline: 0;
    border-color: #0057b8;
    box-shadow: 0 0 0 3px rgba(0,87,184,.15);
}

/* Fallback */

.location-box .fallback-message {
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 18px;
}

.location-box .fallback-message p:first-child {
    color: #111827;
    font-size: 20px;
    line-height: 1.4;
}

.location-box .fallback-message a {
    color: #0057b8;
    text-decoration: underline;
}

/* ==========================
   Tablet
   ========================== */
@media (min-width:768px) and (max-width:1024px) {
    .location-box {
        padding: 32px;
    }
}

@media (max-width:1024px) {
    .btn.btn-blue-transparent, .btn.btn-blue {
        width: 100%;
    }
}

@media (min-width:1024px) and (max-width:1100px) {
    .btn {
        padding-right:  24px !important;
        padding-left:  24px !important;
    }
}

/* ==========================
   Mobile
   ========================== */

@media (max-width:767px) {

    .location-box {
        padding: 24px;
        max-width: 100%;
    }

    .state-title {
        font-size: 22px;
    }

    .info-wrapper p.line-of-credits {
        font-size: 16px;
        line-height: 32px;
        margin-top: 8px;
        margin-bottom: 12px !important;
    }

    .location-box .info-wrapper {
        margin-bottom: 8px;
    }

    .location-box .info-wrapper small, .location-box .info-wrapper {
        font-size: 14px;
    }

    .location-box .state-select {
        height: 52px;
    }
}