/* ==========================================================
   RaFi Community - Auth
   Registration Page
   ========================================================== */

.rafi-register-page {
    width: 100%;
    max-width: 460px;
    margin: 60px auto;
    padding: 35px;
    box-sizing: border-box;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.rafi-register-page h1 {
    margin: 0 0 30px;
    text-align: center;

    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.rafi-field {
    margin-bottom: 18px;
}

.rafi-field label {
    display: block;
    margin-bottom: 7px;

    font-size: 14px;
    font-weight: 600;
}

.rafi-field input {
    display: block;

    width: 100%;
    height: 46px;

    padding: 0 14px;
    box-sizing: border-box;

    border: 1px solid #d1d5db;
    border-radius: 8px;

    background: #ffffff;

    font-size: 15px;

    outline: none;

    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.rafi-field input:focus {
    border-color: #1877f2;

    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.12);
}

.rafi-field input::placeholder {
    color: #9ca3af;
}

#rafi-register-form button {
    display: block;

    width: 100%;
    height: 46px;

    margin-top: 10px;

    border: 0;
    border-radius: 8px;

    background: #1877f2;
    color: #ffffff;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition: background 0.2s ease;
}

#rafi-register-form button:hover {
    background: #166fe5;
}
.rafi-auth-page {
    margin: 0;
    padding: 0;
    background: #f5f7fb;
}

.rafi-auth-container {
    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding: 60px 20px;
    box-sizing: border-box;
}

.rafi-register-page {
    width: 100%;
    max-width: 460px;

    padding: 35px;
    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 16px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.rafi-register-page h1 {
    margin: 0 0 30px;

    text-align: center;

    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.rafi-field {
    margin-bottom: 18px;
}

.rafi-field label {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;
    font-weight: 600;
}

.rafi-field input {
    display: block;

    width: 100%;
    height: 46px;

    padding: 0 14px;
    box-sizing: border-box;

    border: 1px solid #d1d5db;
    border-radius: 8px;

    background: #ffffff;

    font-size: 15px;
}

.rafi-field input:focus {
    outline: none;

    border-color: #1877f2;

    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.12);
}

#rafi-register-form button {
    display: block;

    width: 100%;
    height: 46px;

    margin-top: 10px;

    border: 0;
    border-radius: 8px;

    background: #1877f2;
    color: #ffffff;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
}
/* ==========================================================
   Login Page
   ========================================================== */

.rafi-login-page {
    width: 100%;
    max-width: 460px;

    padding: 35px;
    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 16px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.rafi-login-page h1 {
    margin: 0 0 8px;

    text-align: center;

    font-size: 30px;
    font-weight: 700;
}

.rafi-login-subtitle {
    margin: 0 0 30px;

    text-align: center;

    font-size: 14px;
    color: #6b7280;
}

.rafi-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 5px 0 20px;

    font-size: 14px;
}

.rafi-remember {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rafi-login-options a,
.rafi-login-register a {
    color: #1877f2;
    text-decoration: none;
}

.rafi-login-options a:hover,
.rafi-login-register a:hover {
    text-decoration: underline;
}

#rafi-login-form button {
    display: block;

    width: 100%;
    height: 46px;

    border: 0;
    border-radius: 8px;

    background: #1877f2;
    color: #ffffff;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
}

#rafi-login-form button:hover {
    background: #166fe5;
}

.rafi-login-register {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #eeeeee;

    text-align: center;

    font-size: 14px;
}

.rafi-login-register a {
    margin-left: 5px;
    font-weight: 600;
}
/* ==========================================================
   RaFi Auth - Home Button
   ========================================================== */

.rafi-auth-home-link {
    margin-top: 18px;
    text-align: center;
}

.rafi-auth-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    background: #f1f5f9;
    color: #17315f;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rafi-auth-home-button:hover {
    background: #e2e8f0;
    color: #0d6efd;
    text-decoration: none;
}