/**
 * Authentication pages only (login, signup, reset, create-password, account-lang).
 * Replaces remote IC Markets sb-admin-2 / compile.css without copying those files.
 */
html, body {
    height: 100%;
    margin: 0;
}

body.auth-page {
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #000;
    color: #fff;
}

.bg-gradient-primary {
    background: #000;
    min-height: 100vh;
}

.container-nca {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.mt-18 {
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .mt-18 {
        margin-top: 4.5rem;
    }
}

.shadow-desk {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(52, 232, 52, 0.12);
}

.card.o-hidden.border-0.shadow-lg.my-5 {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    overflow: hidden;
}

.bg-login-image {
    background: #000;
    min-height: 100%;
    padding-bottom: 2rem;
}

.text-ic {
    color: #fff;
}

.green-ic {
    color: #34e834 !important;
}

.p-5-nca {
    padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
    .p-5-nca {
        padding: 3rem;
    }
}

.form-ic {
    background: #111 !important;
    color: #fff !important;
    border: 1px solid #333 !important;
    border-radius: 2px;
}

.form-ic:focus {
    background: #161616 !important;
    color: #fff !important;
    border-color: #34e834 !important;
    box-shadow: 0 0 0 0.15rem rgba(52, 232, 52, 0.25);
}

.text-form-ic {
    color: #ccc;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.rem35 {
    font-size: 0.95rem;
}

.btn.primary,
button.btn.primary {
    background: #34e834;
    color: #000 !important;
    font-weight: 700;
    border: none;
    border-radius: 2px;
}

.btn.primary:hover,
button.btn.primary:hover {
    background: #2fd02f;
    color: #000 !important;
}

.auth-support-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.auth-support-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
}

.auth-support-links a:hover {
    color: #34e834;
}

.auth-lang {
    width: 22px;
    height: auto;
    vertical-align: middle;
    margin-right: 6px;
}

.auth-logo {
    max-width: 220px;
    height: auto;
}

#togglePassword {
    float: right;
    margin-top: -30px;
    margin-right: 12px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    color: #888;
}

.password-toggle {
    float: right;
    margin-top: -30px;
    margin-right: 8px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: #888;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.password-toggle:focus {
    outline: 1px solid #34e834;
}

.custom-control.custom-checkbox.regular {
    padding-left: 0;
}

#forgot_pass_link {
    color: #34e834;
}

select.form-ic option {
    background: #111;
    color: #fff;
}

.login-form-col {
    position: relative;
}

.language-selector {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
}

.language-selector .btn-secondary {
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    padding: 0.25rem 0.7rem;
}

.language-selector .btn-secondary:focus,
.language-selector .btn-secondary:hover {
    background: #111;
    border-color: #34e834;
    color: #fff;
    box-shadow: none;
}

.text-gray-900 {
    color: #fff !important;
}

.mt-6m {
    margin-top: 1.5rem;
}

.card {
    background-color: #0a0a0a;
}

.main-row {
    min-height: 100vh;
}

.dropdown-toggle::after {
    margin-left: 0.4em;
}

.signup-submit-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#signup-submit[aria-busy="true"] .signup-submit-loading {
    display: flex;
}

.signup-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.25);
    border-top-color: #000;
    border-radius: 50%;
    animation: signup-spin 0.7s linear infinite;
}

@keyframes signup-spin {
    to { transform: rotate(360deg); }
}
