/* Reset & Layout */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    display: flex;
    align-items: center; /* Center vertically in the viewport */
    justify-content: center; /* Center horizontally */
}

.forgot-password-main {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.form-box {
    width: 100%;
    max-width: 450px;
    border: 1px solid #333333;
    padding: 40px 30px;
    box-sizing: border-box;
    text-align: center;
}

/* Box Header (Logo) */
.box-header {
    margin-bottom: 30px;
}

.box-header h1 {
    margin: 0;
    font-size: 18px;
    letter-spacing: 4px;
    color: #000000;
}

.box-header p {
    margin: 5px 0 0 0;
    font-size: 9px;
    letter-spacing: 6px;
    color: #000000;
}

/* Typography */
.form-box h2 {
    margin: 0 0 15px 0;
    font-size: 22px;
    color: #000000;
}

.instruction-text {
    font-size: 10px;
    color: #000000;
    margin-bottom: 25px;
    font-weight: bold;
}

/* Form */
.form-group {
    text-align: left;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 6px;
}

.required {
    color: #ff004d;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: #888888;
}

/* Button */
.form-actions {
    margin-bottom: 20px;
}

.btn-submit {
    background-color: #ff004d;
    color: white;
    border: none;
    padding: 10px 0;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 220px; /* Constrained width matching the image proportion */
}

.btn-submit:hover {
    background-color: #cc003d;
}

/* Footer Link */
.back-link {
    font-size: 11px;
    color: #333333;
}

.back-link a {
    color: #2563eb;
    text-decoration: none;
}

.back-link a:hover {
    text-decoration: underline;
}   