﻿.identity-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 34px 16px;
    background: transparent;
}

.identity-card {
    width: 100%;
    max-width: 760px;
    background: #fff;
    border: 1px solid #dce3eb;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .10);
    padding: 32px 38px 34px;
}

.identity-title {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.1;
    color: #333;
}

.identity-subtitle {
    margin-bottom: 22px;
    font-size: 15px;
    color: #526074;
}

.identity-card hr {
    border-color: #dce3eb;
    opacity: 1;
    margin: 0 0 22px;
}

.input-label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.input-required {
    color: #dc2626;
    font-weight: 700;
}

.input-wrap {
    position: relative;
    margin-bottom: 0;
}

.login-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
    color: #6b7280;
    z-index: 5;
    pointer-events: none;
}
.confirm-password-toggle,
.login-password-toggle {
    position: absolute;
    right: 25px;
    top: 25px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 17px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    z-index: 6;
}
.confirm-password-toggle:hover,
.login-password-toggle:hover {
    color: #00A0E6;
}



.identity-card .form-control {
    height: 44px;
    padding-left: 44px;
    padding-right: 46px;
    border: 1px solid #d0d7e2;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    box-shadow: none;
}

.identity-card .form-floating > .form-control {
    padding-left: 10px;
}

.login-validation,
.login-card span[data-valmsg-for] {
    display: block !important;
}

.identity-card .form-control:hover {
    border-color: #9cb7d8;
}

.identity-card .form-control:focus {
    border-color: #66a9ff;
    box-shadow: 0 0 0 .16rem rgba(13, 110, 253, .12);
}


.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 22px;
    font-size: 13px;
}

.login-remember .form-check-input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
}

.identity-card button[type="submit"] {
    height: 46px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 15px;
}

button[type="submit"] .bi {
    font-size: 18px;
    vertical-align: -2px;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0 20px;
    color: #6b7280;
    font-size: 13px;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dce3eb;
}

.login-links {
    display: grid;
    grid-template-columns: repeat(1fr);
    gap: 0;
}

.login-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: #0d6efd;
    text-decoration: none;
    border-right: 1px solid #dce3eb;
}

.login-link:last-child {
    border-right: none;
}

.login-link:hover {
    background: #f6f9ff;
    color: #0a58ca;
    border-radius: 8px;
}
.login-href {
    color: #0d6efd;
    text-decoration: none;

}
.login-href:hover {
    color: #0a58ca;
    text-decoration: underline;
}

.login-link .bi {
    flex: 0 0 auto;
    font-size: 22px;
}

.login-link-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.login-link-desc {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.25;
}

.login-footer {
    margin-top: 20px;
    color: #6b7280;
    font-size: 12px;
}

.login-footer a {
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid #dce3eb;
    color: #0d6efd;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 500;
    color: #0d6efd;
    text-decoration: none;
}

.back-link:hover {
    color: #0a58ca;
    text-decoration: underline;
}

@@media (max-width: 900px) {
    .login-page {
        padding: 20px 12px;
    }

    .identity {
        padding: 26px 20px;
    }

    .login-title {
        font-size: 30px;
    }

    .login-subtitle {
        font-size: 14px;
    }

    .login-links {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .login-link {
        border: 1px solid #dce3eb;
        border-radius: 8px;
    }

        .login-link:last-child {
            border-right: 1px solid #dce3eb;
        }
}
