/* Password Recovery page ------------------------------------------------- */

.pr-page {
    position: relative;
    padding: 24px 12px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    /* Repeated logo watermark, tilted -45deg, covering the whole viewport */
    .pr-page::before {
        content: "";
        position: fixed;
        top: -100%;
        left: -100%;
        width: 300%;
        height: 300%;
        /* Tile already embeds a transparent 20px gutter on every side of the logo */
        background-image: url('../images/logo/TC-logo-watermark-tile.png');
        background-repeat: repeat;
        background-size: 220px auto;
        transform: rotate(-45deg);
        transform-origin: center center;
        opacity: 0.06;
        pointer-events: none;
        z-index: 0;
    }

    /* Gray overlay tinting both the page background and the logo watermark */
    .pr-page::after {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #82848a;
        opacity: 0.2;
        pointer-events: none;
        z-index: 0;
    }

.pr-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.pr-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #00b0f0;
    color: #ffffff;
    padding: 12px 16px;
}

.pr-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.pr-card-close {
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    opacity: .9;
    text-decoration: none;
}

    .pr-card-close:hover,
    .pr-card-close:focus {
        color: #ffffff;
        opacity: 1;
        text-decoration: none;
    }

.pr-card-body {
    padding: 26px 30px 30px 30px;
}

.pr-description {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 22px;
}

.pr-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #374151;
    margin-bottom: 6px;
}

.pr-input-group {
    position: relative;
}

.pr-input-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 17px;
    pointer-events: none;
}

.pr-input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 42px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    color: #111827;
    font-size: 14px;
}

    .pr-input::placeholder {
        color: #9ca3af;
    }

    .pr-input:focus {
        outline: none;
        border-color: #00b0f0;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(0, 176, 240, .15);
    }

.pr-input-password {
    padding-right: 42px;
}

.pr-toggle-password {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #9ca3af;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
}

    .pr-toggle-password:hover,
    .pr-toggle-password:focus {
        color: #00b0f0;
        outline: none;
    }

.pr-btn-submit {
    width: 100%;
    height: 38px;
    border: none;
    border-radius: 8px;
    background: #00b0f0;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
}

    .pr-btn-submit:hover,
    .pr-btn-submit:focus {
        background: #009ad3;
        color: #ffffff;
    }

.pr-back-link {
    display: inline-block;
    margin-top: 14px;
    color: #6b7280;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

    .pr-back-link:hover,
    .pr-back-link:focus {
        color: #00b0f0;
        text-decoration: none;
    }

    .pr-back-link .pr-back-arrow {
        margin-right: 6px;
    }

.pr-message {
    margin-top: 12px;
    font-size: .875rem;
    line-height: 1.5;
}

/* "Requested Resource Not Available" page ---------------------------------- */

.pr-card-notfound {
    padding: 40px 48px 48px 48px;
    text-align: center;
}

.pr-notfound-code {
    color: #4c7dfb;
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.pr-notfound-title {
    margin: 8px 0 14px 0;
    color: #111827;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.pr-notfound-description {
    margin: 0 auto 28px auto;
    max-width: 440px;
    color: #64748b;
    font-size: .9375rem;
    line-height: 1.6;
}

.pr-btn-homepage {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    background: #4c7dfb;
    color: #ffffff;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

    .pr-btn-homepage:hover,
    .pr-btn-homepage:focus {
        background: #3866e0;
        color: #ffffff;
        text-decoration: none;
    }

.pr-message-error {
    color: #dc3545;
}

.pr-message-success {
    color: #198754;
}

.pr-footer {
    position: relative;
    z-index: 1;
    margin-top: 26px;
    width: 100%;
    max-width: 5000px;
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.7;
    white-space: nowrap;
}

    .pr-footer a {
        color: #6b7280;
        text-decoration: none;
    }

        .pr-footer a:hover,
        .pr-footer a:focus {
            color: #00b0f0;
            text-decoration: underline;
        }
