* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f3f8;
    color: #211735;
}

.reset-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
}

.reset-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 22px;
    padding: 32px 28px 25px;
    box-shadow: 0 12px 40px rgba(33, 23, 53, 0.10);
}

.reset-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.logo-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #211735;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    font-weight: 700;
}

.reset-card h1 {
    margin: 0;
    text-align: center;
    color: #211735;
    font-size: 24px;
    font-weight: 700;
}

.reset-description {
    max-width: 350px;
    margin: 10px auto 25px;
    text-align: center;
    color: #77717e;
    font-size: 14px;
    line-height: 1.55;
}

.steps {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #aaa5b0;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.step-number {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #eeeaf2;
    color: #99939f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.step-item.active {
    color: #211735;
}

.step-item.active .step-number {
    background: #211735;
    color: #ffffff;
}

.step-line {
    flex: 1;
    height: 2px;
    margin: 0 9px;
    background: #e7e3ea;
}

.step-line.active {
    background: #211735;
}

.reset-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    margin-bottom: 20px;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.45;
}

.reset-message.error {
    background: #fff1f1;
    border: 1px solid #ffd7d7;
    color: #a82727;
}

.reset-message.success {
    background: #eefaf2;
    border: 1px solid #cdebd7;
    color: #18733c;
}

.message-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.reset-form {
    width: 100%;
}

.reset-form label {
    display: block;
    margin-bottom: 8px;
    color: #352e3d;
    font-size: 13px;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 18px;
}

.input-wrapper input {
    width: 100%;
    height: 53px;
    padding: 0 15px 0 50px;
    border: 1px solid #d9d4df;
    border-radius: 11px;
    outline: none;
    background: #ffffff;
    color: #211735;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.input-wrapper input:focus {
    border-color: #211735;
    box-shadow: 0 0 0 3px rgba(33, 23, 53, 0.07);
}

.input-wrapper input::placeholder {
    color: #aaa5af;
    letter-spacing: 1px;
}

.input-icon {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: #77717e;
    font-size: 14px;
    font-weight: 700;
    z-index: 1;
}

.format-info {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    margin-top: -4px;
    margin-bottom: 21px;
    border-radius: 10px;
    background: #f7f5f9;
    color: #77717e;
}

.info-icon {
    font-size: 15px;
}

.format-info strong {
    display: block;
    margin-bottom: 2px;
    color: #4a4351;
    font-size: 11px;
}

.format-info small {
    display: block;
    color: #8c8791;
    font-size: 11px;
}

.verified-dossier {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    margin-bottom: 23px;
    border: 1px solid #d6ebdc;
    border-radius: 12px;
    background: #f2faf4;
}

.verified-icon {
    width: 35px;
    height: 35px;
    min-width: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #198754;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
}

.verified-content span {
    display: block;
    margin-bottom: 3px;
    color: #568063;
    font-size: 11px;
}

.verified-content strong {
    display: block;
    color: #1c5030;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.pin-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
}

.pin-section-title span {
    flex: 1;
    height: 1px;
    background: #e7e3ea;
}

.pin-section-title strong {
    color: #211735;
    font-size: 12px;
    white-space: nowrap;
}

.pin-hint {
    margin: -10px 0 18px;
    color: #8b8590;
    font-size: 11px;
}

.reset-button {
    width: 100%;
    height: 53px;
    border: none;
    border-radius: 11px;
    background: #211735;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 17px 0 20px;
    transition: background 0.2s ease, transform 0.1s ease;
}

.reset-button:hover {
    background: #302249;
}

.reset-button:active {
    transform: scale(0.99);
}

.button-arrow {
    font-size: 21px;
    font-weight: 400;
}

.change-dossier {
    display: block;
    margin-top: 19px;
    text-align: center;
    color: #211735;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.change-dossier:hover {
    text-decoration: underline;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #eeeaf1;
    color: #96909b;
    font-size: 11px;
    text-align: center;
}

.security-icon {
    font-size: 12px;
}

.reset-footer {
    margin-top: 17px;
    text-align: center;
    color: #b0abb4;
    font-size: 11px;
    letter-spacing: 0.3px;
}

@media (max-width: 480px) {

    .reset-page {
        padding: 15px 10px;
    }

    .reset-card {
        padding: 27px 20px 22px;
        border-radius: 18px;
    }

    .reset-card h1 {
        font-size: 22px;
    }

    .reset-description {
        font-size: 13px;
    }

    .step-item {
        font-size: 11px;
    }

    .step-number {
        width: 27px;
        height: 27px;
    }

    .input-wrapper input {
        height: 51px;
    }

    .reset-button {
        height: 51px;
        font-size: 13px;
    }
}
}

.reset-pin-link {
    display: block;

    margin-top: 16px;

    text-align: center;

    color: #6c3df4;

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;
}

.reset-pin-link:hover {
    text-decoration: underline;
}