﻿/* BrokinCZ modern account pages */
html,
body.bc-auth-page {
    min-height: 100%;
}

body.bc-auth-page {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(25,118,210,.06), transparent 34%),
        #f4f7fb;
    color: #20324a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.bc-auth-shell {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 54px 24px 60px;
    box-sizing: border-box;
}

.bc-auth-brand {
    margin-bottom: 26px;
    text-align: center;
}

.bc-auth-logo {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    line-height: 1;
}

.bc-auth-logo-main {
    color: #ff8200;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.bc-auth-logo-service {
    color: #242b33;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 5px;
}

.bc-auth-tagline {
    margin-top: 12px;
    color: #7b8da3;
    font-size: 13px;
    line-height: 1.45;
}

.bc-auth-card {
    box-sizing: border-box;
    width: 100%;
    padding: 30px;
    border: 1px solid #dfe7ef;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(31, 50, 75, .09);
}

.bc-auth-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.bc-auth-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #edf5ff;
    color: #1976d2;
    font-size: 20px;
}

.bc-auth-card-head h1 {
    margin: 0 0 4px;
    color: #20324a;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 700;
}

.bc-auth-card-head p {
    margin: 0;
    color: #7b8da3;
    font-size: 13px;
    line-height: 1.45;
}

.bc-form-group {
    margin-bottom: 17px;
}

.bc-form-group label {
    display: block;
    margin: 0 0 7px;
    color: #42566f;
    font-size: 13px;
    font-weight: 600;
}

.bc-input-wrap {
    position: relative;
}

.bc-input-wrap .bc-input {
    width: 100% !important;
    height: 46px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 44px 0 14px !important;
    border: 1px solid #d6e0ea !important;
    border-radius: 10px !important;
    background: #fbfcfe !important;
    color: #20324a !important;
    font-family: inherit !important;
    font-size: 14px !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.bc-input-wrap .bc-input:focus {
    border-color: #8fc2f2 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(25,118,210,.08) !important;
}

.bc-input-wrap > i {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #8b9aae;
    font-size: 16px;
    pointer-events: none;
}

.bc-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 4px 0 20px;
}

.bc-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    color: #4d6077;
    font-size: 13px;
    line-height: 1.45;
    cursor: pointer;
}

.bc-check input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    accent-color: #1976d2;
}

.bc-check a {
    color: #1976d2;
    font-weight: 600;
}

.bc-link-muted {
    color: #60758e;
    font-size: 13px;
    text-decoration: none;
}

.bc-link-muted:hover,
.bc-auth-footer a:hover,
.bc-check a:hover {
    color: #125da7;
    text-decoration: none;
}

.bc-auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    margin: 0;
    border: 0;
    border-radius: 10px;
    background: #1976d2;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(25,118,210,.17);
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.bc-auth-submit:hover {
    background: #1469bd;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(25,118,210,.22);
}

.bc-auth-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #edf1f5;
    color: #7b8da3;
    font-size: 13px;
}

.bc-auth-footer a {
    color: #1976d2;
    font-weight: 700;
    text-decoration: none;
}

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

.bc-grid-full {
    grid-column: 1 / -1;
}

.bc-agreement {
    margin: 2px 0 20px;
}

.bc-captcha {
    margin: 0 0 20px;
    overflow: hidden;
}

.bc-captcha .g-recaptcha {
    transform-origin: left top;
}

.bc-validation {
    color: #b6463c;
    font-size: 12px;
}

.bc-validation ul {
    margin: 0 0 14px 18px;
}

.field-validation-error {
    display: block;
    margin-top: 5px;
    color: #b6463c;
    font-size: 12px;
}

.input-validation-error {
    border-color: #e0a09a !important;
}

@media (max-width: 600px) {
    .bc-auth-shell {
        padding: 32px 14px 40px;
    }

    .bc-auth-logo-main {
        font-size: 34px;
    }

    .bc-auth-logo-service {
        font-size: 16px;
        letter-spacing: 3px;
    }

    .bc-auth-card {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .bc-auth-card-head {
        align-items: flex-start;
        margin-bottom: 22px;
    }

    .bc-auth-card-head h1 {
        font-size: 20px;
    }

    .bc-register-grid {
        grid-template-columns: 1fr;
    }

    .bc-grid-full {
        grid-column: auto;
    }

    .bc-auth-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .bc-captcha .g-recaptcha {
        transform: scale(.86);
    }
}

/* ===== Forgot password + license agreement v1.1 ===== */

.bc-auth-card-login,
.bc-auth-card-register {
    overflow: hidden;
}

.bc-auth-card-login .bc-input,
.bc-auth-card-register .bc-input {
    max-width: 100% !important;
}

/* Fix old ACE width rules that made forgot-password input spill outside the card */
.bc-auth-card input[type="text"],
.bc-auth-card input[type="password"],
.bc-auth-card input[type="email"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.bc-license-card {
    box-sizing: border-box;
    width: 100%;
    padding: 30px;
    border: 1px solid #dfe7ef;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(31, 50, 75, .09);
}

.bc-license-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf1f5;
}

.bc-license-head h1 {
    margin: 0 0 4px;
    color: #20324a;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 700;
}

.bc-license-head p {
    margin: 0;
    color: #7b8da3;
    font-size: 13px;
    line-height: 1.45;
}

.bc-license-text {
    color: #33465e;
    font-size: 14px;
    line-height: 1.72;
}

.bc-license-text p {
    margin: 0 0 14px;
    color: #33465e;
}

.bc-license-text strong {
    color: #20324a;
}

.bc-license-text em {
    color: #42566f;
}

.bc-license-text h2 {
    margin: 28px 0 14px;
    padding-top: 4px;
    color: #20324a;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.bc-license-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #edf1f5;
}

.bc-license-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1976d2;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.bc-license-back:hover {
    color: #125da7;
    text-decoration: none;
}

@media (min-width: 760px) {
    .bc-auth-shell:has(.bc-license-card) {
        max-width: 920px;
    }
}

@media (max-width: 600px) {
    .bc-license-card {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .bc-license-head {
        align-items: flex-start;
    }

    .bc-license-head h1 {
        font-size: 20px;
    }

    .bc-license-text {
        font-size: 13px;
        line-height: 1.65;
    }

    .bc-license-text h2 {
        font-size: 17px;
    }
}
/* ===== Login: nicer forgot-password link on mobile v1.2 ===== */
@media (max-width: 600px) {
    .bc-auth-card-login .bc-auth-options {
        gap: 12px;
    }

    .bc-auth-card-login .bc-link-muted {
        display: inline-flex;
        align-items: center;
        width: auto;
        min-height: 36px;
        padding: 7px 12px;
        border: 1px solid #d8e5f2;
        border-radius: 10px;
        background: #f4f8fc;
        color: #3974ad;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
        box-sizing: border-box;
        transition: background-color .15s ease, border-color .15s ease, color .15s ease;
    }

    .bc-auth-card-login .bc-link-muted:hover,
    .bc-auth-card-login .bc-link-muted:focus {
        border-color: #bfd7ee;
        background: #eaf3fb;
        color: #176fc1;
        text-decoration: none;
    }
}



/* ===== Login mobile options row v1.3 ===== */
@media (max-width: 600px) {
    .bc-auth-card-login .bc-auth-options {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 10px;
    }

    .bc-auth-card-login .bc-check {
        flex: 0 1 auto;
        min-width: 0;
        align-items: center;
        white-space: nowrap;
    }

    .bc-auth-card-login .bc-link-muted {
        flex: 0 0 auto;
        margin-left: auto;
        min-height: 34px;
        padding: 6px 10px;
        white-space: nowrap;
    }
}

@media (max-width: 360px) {
    .bc-auth-card-login .bc-auth-options {
        gap: 6px;
    }

    .bc-auth-card-login .bc-check,
    .bc-auth-card-login .bc-link-muted {
        font-size: 12px;
    }

    .bc-auth-card-login .bc-link-muted {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* ===== ConfirmationFailure: readable text v1.4 ===== */
/* Old confirmation-result views are simple markup without the modern card classes.
   Keep their message text dark without changing login/register buttons or icons. */
body.bc-auth-page .bc-auth-content > h1,
body.bc-auth-page .bc-auth-content > h2,
body.bc-auth-page .bc-auth-content > h3,
body.bc-auth-page .bc-auth-content > p,
body.bc-auth-page .bc-auth-content > div:not([class]) > h1,
body.bc-auth-page .bc-auth-content > div:not([class]) > h2,
body.bc-auth-page .bc-auth-content > div:not([class]) > h3,
body.bc-auth-page .bc-auth-content > div:not([class]) > p {
    color: #111111 !important;
}

/* ===== VerifyInfo v1.5 ===== */
.bc-verify-card{overflow:hidden}.bc-verify-head{margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid #edf1f5}.bc-verify-icon{background:#edf5ff;color:#1976d2}
.bc-verify-success{display:flex;align-items:flex-start;gap:12px;margin-bottom:22px;padding:15px 16px;border:1px solid #bfe2c6;border-radius:12px;background:#f2fbf4}
.bc-verify-success>i{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;margin-top:1px;border-radius:50%;background:#63b36b;color:#fff;font-size:13px}
.bc-verify-success strong,.bc-verify-success span,.bc-verify-step strong,.bc-verify-step span,.bc-verify-help strong,.bc-verify-help span{display:block}
.bc-verify-success strong{margin-bottom:4px;color:#284c31;font-size:14px}.bc-verify-success span{color:#58715e;font-size:13px;line-height:1.5}
.bc-verify-steps{display:grid;gap:10px}.bc-verify-step{display:flex;align-items:flex-start;gap:13px;padding:14px;border:1px solid #e2eaf2;border-radius:11px;background:#fbfcfe}
.bc-verify-step-number{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;border-radius:9px;background:#eaf4ff;color:#1976d2;font-size:13px;font-weight:800}
.bc-verify-step strong{margin:1px 0 3px;color:#2b3f58;font-size:13px}.bc-verify-step span{color:#75879c;font-size:12px;line-height:1.5}
.bc-verify-help{display:flex;align-items:flex-start;gap:11px;margin-top:20px;padding-top:18px;border-top:1px solid #edf1f5;color:#60758e}.bc-verify-help>i{margin-top:2px;color:#7f91a6;font-size:16px}
.bc-verify-help strong{margin-bottom:3px;color:#42566f;font-size:13px}.bc-verify-help span{font-size:12px;line-height:1.5}.bc-verify-help a{color:#1976d2;font-weight:700;text-decoration:none}
@media(max-width:600px){.bc-verify-head{margin-bottom:18px;padding-bottom:17px}.bc-verify-success{padding:13px}.bc-verify-step{padding:12px}.bc-verify-help{margin-top:17px;padding-top:16px}}


/* ===== VerifyInfo contacts + step-number fix v1.6 ===== */
.bc-verify-step .bc-verify-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    height: 28px;
    min-height: 28px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    border-radius: 9px;
    background: #eaf4ff;
    color: #1976d2;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}
.bc-verify-help-content { min-width: 0; flex: 1 1 auto; }
.bc-verify-contacts { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.bc-verify-help .bc-verify-contact {
    display:inline-flex; align-items:center; gap:7px; min-height:34px;
    box-sizing:border-box; padding:7px 10px; border:1px solid #d9e4ef;
    border-radius:9px; background:#f8fbfe; color:#365570;
    font-size:12px; font-weight:700; line-height:1.2; text-decoration:none;
}
.bc-verify-help .bc-verify-contact i { font-size:14px; }
.bc-verify-help .bc-verify-contact span {
    display:inline; color:inherit; font-size:inherit; line-height:inherit;
}
.bc-verify-help .bc-contact-email:hover {
    border-color:#b9d7f1; background:#edf6ff; color:#1976d2; text-decoration:none;
}
.bc-verify-help .bc-contact-whatsapp:hover {
    border-color:#b8dfc5; background:#f0faf3; color:#32834b; text-decoration:none;
}
.bc-verify-help .bc-contact-telegram:hover {
    border-color:#b8d8ed; background:#eff8fd; color:#2583b7; text-decoration:none;
}
@media (max-width:600px) {
    .bc-verify-contacts { display:grid; grid-template-columns:1fr; width:100%; }
    .bc-verify-help .bc-verify-contact { width:100%; min-height:40px; }
}


/* ===== VerifyInfo contact alignment v1.7 ===== */
.bc-verify-contacts {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
    max-width: 310px;
}
.bc-verify-help .bc-verify-contact {
    width: 100%;
}
