﻿*, *::before, *::after {
    box-sizing: border-box
}

html, body {
    height: 100%;
    margin: 0;
    background: #f0f2f8;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.text-odonto-padrao {
    color: #101f48;
}

.reg-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.reg-card {
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0,0,0,.18);
    animation: cardIn .45s cubic-bezier(.22,.68,0,1.2) both;
    padding: 2.75rem 2.75rem 2.25rem
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.97)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.reg-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem
}

/* .reg-logo-inner {
    background: #101f48;
    border-radius: 12px;
    padding: .55rem 1.1rem;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: .45rem
}

    .reg-logo-inner svg {
        width: 18px;
        height: 18px;
        color: #4d9aff;
        flex-shrink: 0
    } */

.badge-trial {
    align-items: center;
    gap: .35rem;
    background: #e8f4ff;
    color: #0d6efd;
    border-radius: 50px;
    padding: .22rem .7rem;
    font-size: .72rem;
    font-weight: 600;
    margin-bottom: .9rem;
    max-width: max-content;
}

    .badge-trial i {
        width: 12px;
        height: 12px
    }

.reg-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #101f48;
    letter-spacing: -.01em;
    margin-bottom: .2rem
}

.reg-sub {
    font-size: .82rem;
    color: #6c757d;
    margin-bottom: 1.5rem
}

.step-progress {
    display: flex;
    gap: 6px;
    margin-bottom: 1.75rem
}

.step-track {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px
}

.step-bar {
    height: 3px;
    border-radius: 99px;
    background: #e9ecef;
    transition: background .35s
}

    .step-bar.active {
        background: #101f48
    }

    .step-bar.done {
        background: #4d9aff
    }

.step-lbl {
    font-size: .65rem;
    font-weight: 600;
    color: #adb5bd;
    transition: color .3s;
    letter-spacing: .02em;
    text-transform: uppercase
}

    .step-lbl.active {
        color: #101f48
    }

    .step-lbl.done {
        color: #4d9aff
    }

.field-group {
    margin-bottom: 1.1rem
}

.field-label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: .4rem
}

.required::after {
    content: " *";
    color: red;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 10px 15px;
}

.field-wrap {
    position: relative
}

.field-input {
    width: 100%;
    padding: .75rem 1rem .75rem 2.55rem;
    border: 1.5px solid #dee2e6;
    border-radius: 10px;
    font-size: .9rem;
    color: #212529;
    transition: border-color .2s,box-shadow .2s;
    outline: none;
    font-family: inherit;
    appearance: none
}

    .field-input:focus {
        border-color: #101f48;
        box-shadow: 0 0 0 3px rgba(13,110,253,.15)
    }

    .field-input::placeholder {
        color: #ced4da
    }

.field-icon-left {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: .9rem;
    pointer-events: none;
}

.eye-toggle {
    position: absolute;
    right: .85rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #adb5bd;
    display: flex;
    align-items: center;
    transition: color .2s
}

    .eye-toggle:hover {
        color: #101f48
    }

    .eye-toggle svg {
        width: 17px;
        height: 17px
    }

.has-toggle {
    padding-right: 2.8rem
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    margin-right: 25px;
    font-size: 1.2rem;
}

    .password-toggle:hover {
        color: #101f48;
    }

.btn-primary-reg {
    width: 100%;
    padding: .82rem;
    background: #101f48;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: background .25s,box-shadow .25s,transform .15s;
    font-family: inherit
}

    .btn-primary-reg:hover {
        color: #fff;
        background: #005eff;
        box-shadow: 0 6px 20px rgba(0,94,255,.35);
        transform: translateY(-1px)
    }

    .btn-primary-reg svg {
        width: 16px;
        height: 16px
    }

    .btn-primary-reg:disabled {
        pointer-events: none;
        cursor: not-allowed;
        background: #005eff;
        color: #fff;
    }

.btn-outline-reg {
    padding: .75rem 1.4rem;
    background: #fff;
    color: #6c757d;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .45rem;
    transition: border-color .2s,color .2s,background .2s;
    font-family: inherit
}

    .btn-outline-reg:hover {
        border-color: #101f48;
        color: #101f48;
        background: #f0f4ff
    }

    .btn-outline-reg svg {
        width: 16px;
        height: 16px
    }

.btn-row {
    display: flex;
    gap: .75rem;
    margin-top: .25rem
}

    .btn-row .btn-primary-reg {
        flex: 1
    }

.reg-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.1rem 0 .85rem
}

    .reg-divider::before, .reg-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #e9ecef
    }

    .reg-divider span {
        font-size: .72rem;
        color: #adb5bd;
        white-space: nowrap
    }

.link-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .6rem;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    font-size: .84rem;
    font-weight: 500;
    color: #6c757d;
    text-decoration: none;
    transition: border-color .2s,color .2s,background .2s;
    cursor: pointer
}

    .link-login:hover {
        border-color: #101f48;
        color: #101f48;
        background: #f0f4ff
    }

    .link-login svg {
        width: 16px;
        height: 16px
    }

.step-section {
    display: none;
}

    .step-section.active {
        display: block;
        animation: fadeIn .4s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.check-wrap {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin: .85rem 0 1rem
}

    .check-wrap input[type=checkbox] {
        width: 15px;
        height: 15px;
        accent-color: #101f48;
        margin-top: 3px;
        flex-shrink: 0;
        cursor: pointer
    }

.check-label {
    font-size: .79rem;
    color: #6c757d;
    line-height: 1.55
}

    .check-label a {
        color: #0d6efd;
        text-decoration: none
    }

        .check-label a:hover {
            text-decoration: underline
        }


.toast-odonto .toast {
    background-color: #101f48;
    color: antiquewhite;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 94, 255, 0.25);
    overflow: hidden;
    min-width: 300px;
    animation: slideUp 0.4s ease;
}

.toast-header-odonto {
    background-color: #0c1635;
    color: #fff;
    font-weight: bold;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toast-body-odonto {
    padding: 1rem;
    font-size: 15px;
}

.toast-odonto .btn-close {
    filter: invert(1);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
