@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

body {
    background: #090B0D;
}

.bc-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 16px;
    background: #090B0D;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.bc-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.bc-shape-1 {
    width: 300px;
    height: 300px;
    top: -60px;
    left: -60px;
    background: radial-gradient(circle, rgba(91, 79, 150, 0.35) 0%, transparent 70%);
}

.bc-shape-2 {
    width: 280px;
    height: 280px;
    bottom: -60px;
    right: -40px;
    background: radial-gradient(circle, rgba(81, 70, 150, 0.3) 0%, transparent 70%);
}

.bc-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    padding: 36px 32px;
    border-radius: 20px;
    background: rgba(12, 14, 16, 0.921);
    border: 1px solid rgba(91, 79, 150, 0.3);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(176, 178, 183, 0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bc-card:hover {
    border-color: rgba(91, 79, 150, 0.55);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.6), 0 0 28px rgba(91, 79, 150, 0.15);
}

.bc-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.bc-logo-mark {
    width: 32px;
    height: 32px;
    background: #5B4F96;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bc-logo-mark svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.bc-logo-text {
    font-size: 15px;
    font-weight: 700;
    color: #B0B2B7;
    letter-spacing: 0.03em;
}

.bc-logo-text span {
    color: #7B6FC4;
}

.bc-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(91, 79, 150, 0.15);
    border: 1px solid rgba(91, 79, 150, 0.35);
    color: #A89EDA;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bc-title {
    margin: 0 0 8px 0;
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.bc-subtitle {
    margin: 0 0 24px 0;
    color: #B0B2B7;
    font-size: 0.92rem;
    line-height: 1.6;
}

.bc-form {
    display: grid;
    gap: 16px;
}

/* Custom Select */
.bc-select-wrap {
    flex-direction: column;
    align-items: stretch;
    position: relative;
}

.bc-select-wrap .bc-input-icon {
    position: absolute;
    left: 14px;
    top: 22px; /* metade da altura do trigger (48px / 2) */
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    color: #e3e3e3;
    font-size: 16px;
}

.bc-custom-select {
    position: relative;
    width: 100%;
}

.bc-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    padding-left: 40px !important;
}

.bc-select-trigger .bc-select-arrow {
    position: static;
    font-size: 14px;
    color: #B0B2B7;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.bc-custom-select.open .bc-select-arrow {
    transform: rotate(180deg);
}

.bc-select-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid rgba(91, 79, 150, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    z-index: 100;
    overflow: hidden;
    padding: 6px;
}

.bc-custom-select.open .bc-select-dropdown {
    display: block;
}

.bc-select-option {
    padding: 9px 12px;
    color: #e3e3e3;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.bc-select-option:hover {
    background: rgba(91, 79, 150, 0.25);
    color: #A89EDA;
}

.bc-select-option.selected {
    background: rgba(91, 79, 150, 0.15);
    color: #A89EDA;
    font-weight: 600;
}

.bc-input-group {
    display: grid;
    gap: 7px;
}

.bc-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: #B0B2B7;
    letter-spacing: 0.02em;
}

.bc-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.bc-input-icon {
    position: absolute;
    left: 14px;
    color: #e3e3e3;
    font-size: 16px;
    pointer-events: none;
    line-height: 1;
}

.bc-input {
    width: 100%;
    padding: 13px 16px 13px 40px;
    border-radius: 12px;
    border: 1px solid rgba(14, 16, 18, 0.6);
    background: rgb(48, 48, 46);
    color: #e3e3e3;
    font-size: 0.93rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.bc-input::placeholder {
    color: rgb(227, 227, 227, 0.6);
}

.bc-input:focus {
    border-color: rgba(91, 79, 150, 0.6);
    background: rgba(48, 48, 46, 0.6);
    box-shadow: 0 0 0 3px rgba(91, 79, 150, 0.15);
}

.bc-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bc-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #B0B2B7;
    font-size: 0.86rem;
    cursor: pointer;
}

.bc-remember input[type="checkbox"] {
    accent-color: #5B4F96;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.bc-forgot {
    color: #7B6FC4;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.bc-forgot:hover {
    color: #A89EDA;
}

.bc-submit {
    margin-top: 4px;
    width: 100%;
    border: 1px solid rgba(91, 79, 150, 0.4);
    border-radius: 12px;
    padding: 14px 18px;
    background: #0E1012;
    color: #fff;
    font-size: 0.97rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    letter-spacing: 0.03em;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bc-submit::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, transparent 100%);
    pointer-events: none;
}

.bc-submit:hover {
    transform: translateY(-2px);
    background: #1a1d21;
    box-shadow: 0 10px 32px rgba(81, 70, 134, 0.5);
}

.bc-submit:active {
    transform: translateY(0);
    background: #111316;
}

.bc-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.bc-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(91, 79, 150, 0.18);
}

.bc-divider span {
    color: #3a3d45;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
}

.bc-footer {
    margin-top: 20px;
    text-align: center;
}

.bc-footer p {
    margin: 0;
    color: #B0B2B7;
    font-size: 0.88rem;
}

.bc-footer a {
    color: #7B6FC4;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.bc-footer a:hover {
    color: #A89EDA;
}
.bc-select-dropdown {
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(91, 79, 150, 0.5) transparent;
}

.bc-select-dropdown::-webkit-scrollbar {
    width: 4px;
}

.bc-select-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.bc-select-dropdown::-webkit-scrollbar-thumb {
    background: rgba(91, 79, 150, 0.5);
    border-radius: 4px;
}