/* =========================
   Base Styles (default)
============================ */
.contact-main-container {
    background-color: white;
    font-family: "Cinzel Decorative", serif;
    margin-top: 10vh;
    height: 90vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-image-container > .contact-image {
    height: 8rem;
    width: 8rem;
    border-radius: 8px;
}

.form-container {
    width: 18rem;
    margin-top: 1rem;
}

.form-header {
    font-weight: bold;
    font-size: 1.75rem;
}

.form-input {
    margin-bottom: 1rem;
}

.text-input {
    height: 1.75rem;
    width: 17rem;
    font-size: 1rem;
}

.text-message {
    resize: none;
    height: 12rem;
    width: 19rem;
}

.contact-submit-button {
    font-family: Amita;
    background-color: black;
    color: white;
    text-align: center;
    padding: 8px 50px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    margin-bottom: 2rem;
    border: none;
}

.contact-submit-button:hover {
    background-color: rgba(0, 0, 0, 0.408);
    transition: all 0.15s ease;
}

/* credit card form */
.card-form {
    width: 336px;
    max-width: 95%;
    margin: 0 auto;
    background: white;
    border-radius: 9.6px;
    box-shadow: 0 4.8px 24px rgba(18, 38, 63, 0.08);
    padding: 16px;
}

.card-form h2 {
    margin: 0 0 9.6px;
    font-size: 1rem;
    color: #0f172a;
}

.field {
    margin-bottom: 9.6px;
}

label {
    display: block;
    font-size: 0.68rem;
    margin-bottom: 4.8px;
    color: #334155;
}

.input {
    width: 90%;
    padding: 9.6px 11.2px;
    border-radius: 6.4px;
    border: 1px solid #e6eef8;
    background: linear-gradient(180deg, #fff, #fbfdff);
    font-size: 0.8rem;
    outline: none;
    transition: box-shadow .12s ease, border-color .12s ease;
}

.input:focus {
    box-shadow: 0 4.8px 16px rgba(14, 165, 233, 0.12);
    border-color: #0ea5e9;
}

.row {
    display: flex;
    gap: 9.6px;
}

.row .field { flex: 1; }

.small {
    width: 88px;
}

.muted { color: #64748b; font-size: 0.7rem; }

.card-brand {
    display: inline-flex;
    align-items: center;
    gap: 6.4px;
    font-size: 0.76rem;
    color: #0f172a;
}

.brand-dot {
    width: 28.8px;
    height: 19.2px;
    border-radius: 4.8px;
    display: inline-block;
    text-align: center;
    line-height: 19.2px;
    font-weight: 600;
    font-size: 0.64rem;
    color: white;
}

.brand-visa { background: linear-gradient(90deg,#1e3a8a,#60a5fa); }
.brand-mc   { background: linear-gradient(90deg,#ef4444,#f97316); }
.brand-amex { background: linear-gradient(90deg,#059669,#10b981); }
.brand-discover { background: linear-gradient(90deg,#f59e0b,#fb923c); }
.brand-none  { background: #cbd5e1; color: #0f172a; }

.error {
    color: #b91c1c;
    font-size: 0.68rem;
    margin-top: 4.8px;
}

.submit-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:9.6px;
    margin-top: 8px;
}

.btn {
    background: linear-gradient(180deg,#0ea5e9,#0284c7);
    color: white;
    border: none;
    padding: 9.6px 12.8px;
    border-radius: 6.4px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4.8px 14.4px rgba(2, 132, 199, 0.18);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.helper {
    font-size: 0.68rem;
    color: #475569;
}

/* =========================
   Smallest phones (≥320px)
============================ */
@media (min-width: 320px) {
}

/* =========================
   Small devices (≥480px)
============================ */
@media (min-width: 480px) {
}

/* =========================
   Tablets (≥768px)
============================ */
@media (min-width: 768px) {
}

/* =========================
   Small desktops (≥992px)
============================ */
@media (min-width: 992px) {
    .contact-main-container {
        margin-top: 10vh;
        height: 90vh;
        margin-bottom: 0vh;
        flex-direction: row;
    }

    .contact-image-container > .contact-image {
        height: 40rem;
        width: 40rem;
        margin-right: 3rem;
    }

    .form-container {
        width: 20rem;
        margin-top: 0rem;
    }

    .text-input {
        height: 2rem;
        width: 19rem;
        font-size: 1.1rem;
    }
}

/* =========================
   Large desktops (≥1200px)
============================ */
@media (min-width: 1200px) {
}