﻿/* ── Progress tracker ── */
.progress-wrapper {
    display: flex;
    align-items: flex-start;
    width: 550px;
    max-width: 85vw;
    position: relative;
    top: -10px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    width: 32px;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #cccccc;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.step-num {
    font-family: 'BM-Gotham-Medium';
    font-size: 13px;
    color: #aaaaaa;
    line-height: 1;
}

.step--active .step-circle,
.step--complete .step-circle {
    background-color: #da8a4d;
    border-color: #9e4924;
    border-width: 1px;
}

.step--active .step-num {
    color: #ffffff;
}

.step-label {
    font-family: 'BM-Gotham-Book';
    font-size: 18px;
    color: #777777;
    white-space: nowrap;
}

.step--active .step-label {
    font-family: 'BM-Gotham-Medium';
    color: #2a2a2a;
}

.step-line {
    flex: 1;
    height: 4px;
    background-color: #dddddd;
    margin-top: 14px;
}

.step-line--active {
    background-color: #da8a4d;
}

/* ── Reset body-container offset ── */
.body-container {
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}

/* ── Page layout ── */
.tr-page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 10px 20px 40px;
    height: 100vh;
}

/* ── Logo ── */
.tr-logo-wrapper {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 11px 0 18px;
}

/* ── Card ── */
.tr-card {
    width: min(800px, 100%);
    border-radius: 12px;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.06));
    border: 1px solid #eeeeee;
    display: flex;
    flex-direction: column;
}

.tr-card-header {
    padding: 32px 36px 0;
}

.tr-card-body {
    display: flex;
    flex: 1;
    align-items: flex-start;
}

.tr-card-left {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 0px 32px 38px;
}

    .tr-card-left img {
        width: 100%;
        object-fit: contain;
        object-position: center;
    }

.tr-card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 32px 32px 28px;
}

/* ── Typography ── */
.tr-title {
    font-family: 'BM-Gotham-Medium';
    font-size: 32px;
    color: #2a2a2a;
    margin: 0;
    border: none;
    background: none;
}

.tr-subtitle {
    font-family: 'BM-Gotham-Book';
    font-size: 18px;
    color: #2a2a2a;
    margin: 0 0 0;
}

/* ── Fields ── */
.tr-field-group {
    margin-bottom: 10px;
}

.tr-input {
    width: 300px;
    height: 40px;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    padding: 0 12px;
    font-family: 'BM-Gotham-Book';
    font-size: 16px;
    color: #2a2a2a;
    outline: none;
    box-sizing: border-box;
    display: block;
    background-color: transparent;
}

    .tr-input:focus {
        border-color: #a94f27;
    }

.tr-input-with-icon {
    position: relative;
    display: inline-block;
}

    .tr-input-with-icon .tr-input {
        padding-right: 40px;
    }

.tr-eye-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 0;
}

.tr-error-text {
    font-family: 'BM-Gotham-Book';
    font-size: 12px;
    color: #e53935;
    margin: 4px 0 0;
    display: block;
}

/* ── Legal ── */
.tr-legal-text {
    font-family: 'BM-Gotham-Book';
    font-size: 12px;
    color: #555555;
    text-align: right;
    max-width: 300px;
    margin: 8px 0 14px;
    line-height: 1.4;
}

    .tr-legal-text a {
        color: #2a2a2a;
        text-decoration: none;
    }

        .tr-legal-text a:hover {
            text-decoration: underline;
        }

/* ── Buttons ── */
.tr-btn {
    width: 300px;
    height: 48px;
    border-radius: 8px;
    font-family: 'BM-Gotham-Medium';
    font-size: 15px;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
    text-decoration: none;
}

.tr-btn-continue {
    background-color: #a94f27;
    color: #ffffff;
}

    .tr-btn-continue:hover {
        background-color: #8e4220;
    }

    .tr-btn-continue:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

.tr-btn-social {
    background-color: #ffffff;
    color: #2a2a2a;
    border: 1px solid #d4d4d4;
}

    .tr-btn-social:hover {
        background-color: #f9f9f9;
        color: #2a2a2a;
        text-decoration: none;
    }

.tr-social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ── Inline forgot link ── */
.tr-forgot-inline {
    display: block;
    font-family: 'BM-Gotham-Book';
    font-size: 12px;
    color: #555555;
    margin-top: 4px;
    text-decoration: none;
}
.tr-forgot-inline:hover {
    text-decoration: underline;
    color: #2a2a2a;
}

/* ── Checkbox ── */
.tr-check-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tr-check-label {
    font-family: 'BM-Gotham-Book';
    font-size: 14px;
    color: #2a2a2a;
    margin: 0;
}

/* ── Login link ── */
.tr-login-text {
    font-family: 'BM-Gotham-Book';
    font-size: 16px;
    color: #555555;
    margin: 4px 40px 0px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    width: 100%;
}

.login-text-bottom{
    margin-bottom: 0;
}

.tr-login-link {
    font-family: 'BM-Gotham-Medium';
    color: #2a2a2a;
    text-decoration: none;
}

    .tr-login-link:hover {
        text-decoration: underline;
        color: #2a2a2a;
    }

/* ── Login page overrides ── */
.tr-card--login { 
    min-height: auto !important;
    margin-top: 67px;
 }

.tr-legal-text--login { font-size: 11px !important; }

/* ── Responsive ── */
@media (max-width: 820px) {
    .tr-card-header {
        padding: 24px 24px 0;
    }

    .tr-card-body {
        flex-direction: column;
    }

    .tr-card-left {
        flex: none;
        height: 200px;
        padding: 16px 24px;
    }

    .tr-card-right {
        padding: 20px 24px 28px;
    }

    .tr-field-group {
        width: 100%;
    }

    .tr-input {
        width: 100%;
    }

    .tr-input-with-icon {
        display: block;
        width: 100%;
    }

    .tr-btn {
        width: 100%;
    }

    .tr-legal-text {
        max-width: 100%;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .tr-card-right {
        padding: 55px 16px;
    }
}
