
.tm-login-page {
    min-height: 100vh;
    padding: 40px 20px;
}

.tm-login-layout {
    max-width: 1450px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.tm-login-hero {
    width: 40%;
    padding: 35px 40px;
}

.tm-login-panel {
    width: 60%;
}

.tm-login-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    text-decoration: none;
}

.tm-login-brand__logo {
    height: 48px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.tm-login-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.tm-login-brand__title {
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #07103a;
    letter-spacing: -0.5px;
}

.tm-login-brand__subtitle {
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    color: #f4a911;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tm-login-hero__title {
    margin-top: 70px;
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    color: #09133d;
}

.tm-login-hero__subtitle {
    margin-top: 30px;
    max-width: 500px;
    color: #6c7387;
    font-size: 20px;
}

.tm-login-feature-list {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tm-login-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.tm-login-feature__icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.tm-login-feature__icon img {
    width: 20px;
    height: auto;
    object-fit: contain;
}

.tm-login-feature__icon--blue {
    background: #eef3ff;
}

.tm-login-feature__icon--yellow {
    background: #fff8e7;
}

.tm-login-feature__icon--green {
    background: #e8fff0;
}

.tm-login-feature__content strong {
    display: block;
    font-size: 18px;
    color: #09133d;
}

.tm-login-feature__content span {
    color: #596278;
    font-size: 15px;
}

.tm-login-hero__image-wrap {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 2rem auto 0;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    overflow: visible;
}

.tm-login-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    display: block;
}

.tm-login-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 55px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .04);
}

.tm-login-switch {
    display: flex;
    margin-bottom: 40px;
    border-bottom: 1px solid #e7eaf2;
}

.tm-login-switch__link {
    flex: 1;
    text-align: center;
    padding-bottom: 18px;
    text-decoration: none;
    font-weight: 700;
    color: #1b2340;
}

.tm-login-switch__link--active {
    color: #1f4fff;
    border-bottom: 3px solid #1f4fff;
}

.tm-login-card__title {
    font-size: 38px;
    font-weight: 800;
    color: #08133c;
}

.tm-login-card__subtitle {
    color: #596278;
    margin-bottom: 30px;
}

.tm-login-form {
    width: 100%;
}

.tm-login-field {
    height: 56px;
    border: 1px solid #e4e8f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    margin-bottom: 20px;
    background: #fff;
}

.tm-login-field__icon {
    color: #596278;
    margin-right: 12px;
    font-size: 16px;
}

.tm-login-field__input {
    border: none;
    flex: 1;
    outline: none;
    background: transparent;
    font-size: 15px;
    min-width: 0;
}

.tm-login-field__toggle {
    border: none;
    background: none;
    color: #596278;
    padding: 0;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tm-login-form__forgot {
    text-align: right;
    margin-bottom: 25px;
}

.tm-login-form__forgot a {
    color: #1f4fff;
    text-decoration: none;
    font-weight: 600;
}

.tm-login-form__submit {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 8px;
    background: #0f37ff;
    color: white;
    font-weight: 700;
}

.tm-login-form__separator {
    margin: 25px 0;
    text-align: center;
    position: relative;
}

.tm-login-form__separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e8f0;
}

.tm-login-form__separator span {
    background: white;
    padding: 0 15px;
    position: relative;
}

.tm-login-social-btn {
    width: 100%;
    height: 54px;
    border: 1px solid #e4e8f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    background: white;
    text-decoration: none;
    color: #0c153f;
    font-weight: 600;
}

.tm-login-social-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.tm-login-form__register {
    text-align: center;
    margin-top: 25px;
    color: #596278;
}

.tm-login-form__register a {
    color: #1f4fff;
    font-weight: 700;
    text-decoration: none;
}

.tm-login-resend {
    margin-top: 1.25rem;
    border-top: 1px solid var(--tm-color-border);
    padding-top: 1rem;
}

.tm-login-resend__summary {
    color: var(--tm-color-blue);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.tm-login-resend__content p {
    margin: 0.75rem 0;
    color: var(--tm-color-text-muted);
    font-size: 0.875rem;
    line-height: 1.45;
    text-align: center;
}

.tm-login-resend__form {
    display: grid;
    gap: 0.625rem;
}

.tm-login-resend__input {
    width: 100%;
    border: 1px solid var(--tm-color-border);
    border-radius: 0.75rem;
    padding: 0.75rem 0.875rem;
    background: var(--tm-color-white);
    color: var(--tm-color-text);
}

.tm-login-resend__input:focus {
    border-color: var(--tm-color-blue);
    outline: 3px solid rgba(var(--tm-color-blue-rgb), 0.18);
}

.tm-login-resend__submit {
    border: 1px solid var(--tm-color-blue);
    border-radius: 0.75rem;
    padding: 0.7rem 0.875rem;
    background: transparent;
    color: var(--tm-color-blue);
    font-weight: 700;
}

.tm-login-resend__submit:hover,
.tm-login-resend__submit:focus-visible {
    background: var(--tm-color-blue);
    color: var(--tm-color-white);
}

.tm-login-benefits {
    margin-top: 35px;
    background: #f5f7fa;
    border-radius: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tm-login-benefit-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tm-login-benefit-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tm-login-benefit-card__icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.tm-login-benefit-card__icon img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.tm-login-benefit-card__icon--blue {
    background: #eef3ff;
}

.tm-login-benefit-card__icon--green {
    background: #e8fff0;
}

.tm-login-benefit-card__icon--yellow {
    background: #fff8e7;
}

.tm-login-benefit-card__icon--purple {
    background: #f3e8ff;
}

.tm-login-benefit-card strong {
    font-size: 14px;
    color: #07103a;
    font-weight: 700;
    line-height: 1.2;
}

.tm-login-benefit-card span {
    font-size: 12px;
    color: #596278;
    line-height: 1.4;
    padding-left: 40px;
}

@media (max-width: 1200px) {
    .tm-login-layout {
        flex-direction: column;
    }

    .tm-login-hero,
    .tm-login-panel {
        width: 100%;
    }

    .tm-login-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tm-login-page {
        padding: 20px 12px;
    }

    .tm-login-hero,
    .tm-login-card {
        padding: 24px;
    }

    .tm-login-hero__title {
        margin-top: 20px;
        font-size: 38px;
    }

    .tm-login-hero__subtitle {
        font-size: 17px;
    }

    .tm-login-benefits {
        grid-template-columns: 1fr;
    }

    .tm-login-benefit-card span {
        padding-left: 0;
    }
}

.tm-login-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.tm-login-alert i {
    font-size: 18px;
    flex-shrink: 0;
}

.tm-login-alert--success {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #067647;
}

.tm-login-alert--error {
    background: #fef3f2;
    border: 1px solid #fecdca;
    color: #b42318;
}
