﻿/* --------------------- */
/* resendConfirmation.css */
/* --------------------- */

.hero-banner {
    position: relative;
    width: 100%;
}

    .hero-banner img {
        display: block;
        width: 100%;
        height: auto;
    }

/* center the form and lock it to 446px wide */
.page-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 100%;
    max-width: 446px;
    margin: 0;
}

/* =============================================================================
   Form styling
   ============================================================================= */

.resend-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    border-radius: 25px;
    border: 2.5px solid #EAEAEA;
    background: #FFF;
    box-shadow: 0px 0px 14px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.resend-header {
    margin: 0;
    font-family: "Inter Tight", sans-serif;
    font-size: 28px;
    color: #4DC24D;
    font-weight: 600;
}

.resend-description {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #535862;
}

.divider {
    width: 100%;
    height: 1px;
    background: #EAEAEA;
}

.input-wrapper {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid #D5D7DA;
    background: #FFF;
    box-shadow: 0px 1px 2px rgba(10, 13, 18, 0.05);
    box-sizing: border-box;
    width: 100%;
}

    .input-wrapper svg {
        flex-shrink: 0;
    }

.text-input {
    flex: 1 0 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #181D27;
}

    .text-input::placeholder {
        color: #717680;
    }

.text-danger {
    width: 100%;
    font-size: 14px;
    color: #DC3545;
    margin-top: 4px;
}

.input-label {
    display: block;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #181D27;
    margin-bottom: 4px;
}

.field-group {
    margin-bottom: 16px;
}

.resend-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 16px;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid #4DC24D;
    background: #4DC24D;
    color: #FFF;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    box-shadow: 0px 1px 2px rgba(10, 13, 18, 0.05);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

    .resend-btn:hover {
        opacity: 0.9;
    }

    .resend-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.back-to-login-container {
    width: 100%;
    text-align: center;
    margin-top: 12px;
}

.back-to-login {
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #4DC24D;
    text-decoration: none;
}

    .back-to-login:hover {
        text-decoration: underline;
    }

/* Success message styling */
.success-message {
    background-color: #D4EDDA;
    border: 1px solid #C3E6CB;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px 0;
}

    .success-message p {
        margin: 0;
        font-family: Inter, sans-serif;
        font-size: 14px;
        color: #155724;
    }

/* Already confirmed message styling */
.already-confirmed-message {
    background-color: #D1ECF1;
    border: 1px solid #BEE5EB;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px 0;
}

    .already-confirmed-message p {
        margin: 0;
        font-family: Inter, sans-serif;
        font-size: 14px;
        color: #0C5460;
    }

    .already-confirmed-message a {
        color: #4DC24D;
        font-weight: 600;
        text-decoration: none;
    }

        .already-confirmed-message a:hover {
            text-decoration: underline;
        }
