/* CHOIR_DEVICE_AUTH_STYLE_V1 */

.choir-device-connect {
    display: none;
    width: fit-content;
    margin: 10px 0 18px;
    padding: 9px 13px;
    border: 1px solid rgba(212,175,55,.25);
    border-radius: 12px;
    background: #162B57;
    color: #F5F2EB;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.choir-device-overlay {
    position: fixed;
    inset: 0;
    z-index: 50000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding:
        calc(24px + env(safe-area-inset-top))
        20px
        calc(24px + env(safe-area-inset-bottom));
    background: #0D1B2E;
    color: #F5F2EB;
}

.choir-device-overlay[hidden] {
    display: none !important;
}

.choir-device-box {
    width: min(100%, 430px);
    box-sizing: border-box;
    padding: 26px 22px;
    border-radius: 24px;
    border: 1px solid rgba(212,175,55,.22);
    background:
        linear-gradient(
            145deg,
            #162B57,
            #102343
        );
    box-shadow:
        0 18px 50px rgba(0,0,0,.28);
}

.choir-device-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    display: block;
    margin-bottom: 20px;
}

.choir-device-title {
    margin: 0 0 10px;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 800;
}

.choir-device-text {
    color: #AEB8C9;
    font-size: 14px;
    line-height: 1.55;
}

.choir-device-code-input {
    width: 100%;
    height: 54px;
    box-sizing: border-box;
    margin-top: 20px;
    padding: 0 15px;
    border: 1px solid rgba(212,175,55,.28);
    border-radius: 14px;
    outline: none;
    background: #0D1B2E;
    color: #F5F2EB;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
}

.choir-device-primary {
    width: 100%;
    height: 50px;
    margin-top: 12px;
    border: 0;
    border-radius: 14px;
    background: #D4AF37;
    color: #0D1B2E;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.choir-device-primary:disabled {
    opacity: .55;
}

.choir-device-error {
    min-height: 19px;
    margin-top: 10px;
    color: #F0A5A5;
    font-size: 12px;
}

.choir-device-modal-code {
    margin: 22px 0 8px;
    color: #D4AF37;
    font-size: 36px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .08em;
    text-align: center;
}

.choir-device-secondary {
    width: 100%;
    min-height: 44px;
    margin-top: 10px;
    border: 1px solid rgba(212,175,55,.22);
    border-radius: 13px;
    background: transparent;
    color: #F5F2EB;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
