
/* ==========================================================
   REGISTRATION CARD
   ========================================================== */

.dashboard-card {
    background: var(--bs-tertiary-bg);
    border-radius: 20px;
    padding: 1.5rem;
    border: 0;
    box-shadow: 0 .125rem .5rem rgba(0, 0, 0, .06);
}


/* ==========================================================
   TITLE ICON
   ========================================================== */

.title-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(13, 110, 253, .12);
    color: #0d6efd;

    font-size: 1.1rem;
}


/* ==========================================================
   X-FIELDS
   ========================================================== */

.xfields-wrapper {
    width: 100%;
}

.xfields-wrapper table {
    width: 100%;
    margin: 0;
}


/* ==========================================================
   CAPTCHA
   ========================================================== */

.feedback-fieldset {
    min-width: 0;

    padding: 0;
    margin: 1rem 0 1.5rem;

    border: 0;
}

.feedback-captcha-row {
    display: flex;
    align-items: stretch;
    gap: .75rem;
    flex-wrap: wrap;
}

.feedback-captcha-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 176px;
    height: 88px;
    min-width: 176px;

    overflow: hidden;

    border: 1px solid var(--bs-border-color);
    border-radius: .625rem;

    background: var(--bs-secondary-bg);
}

.feedback-captcha-image img {
    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;
}

.feedback-captcha-input {
    width: 158px;
    min-width: 0;
}

.feedback-captcha-input .form-control {
    height: 88px;
    min-height: 88px;
}


/* ==========================================================
   VISUALLY HIDDEN
   ========================================================== */

.visually-hidden {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767.98px) {

    .dashboard-card {
        padding: 1rem;
        border-radius: 14px;
    }

    .title-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .feedback-captcha-row {
        width: 100%;
    }

    .feedback-captcha-image {
        width: 140px;
        height: 70px;
        min-width: 140px;
    }

    .feedback-captcha-input {
        flex: 1 1 130px;
        width: auto;
    }

    .feedback-captcha-input .form-control {
        height: 70px;
        min-height: 70px;
    }
}


/* ==========================================================
   VERY SMALL SCREENS
   ========================================================== */

@media (max-width: 380px) {

    .dashboard-card {
        padding: .85rem;
    }

    .feedback-captcha-row {
        flex-direction: column;
    }

    .feedback-captcha-image {
        width: 176px;
        height: 88px;
        min-width: 176px;
    }

    .feedback-captcha-input {
        width: 100%;
    }

    .feedback-captcha-input .form-control {
        height: 48px;
        min-height: 48px;
    }
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

}
