body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f5f5f5;
}

/* Layout */
.auth-container {
    min-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
}

/* Card */
.auth-box {
    background-color: #ffffff;
    width: 45%;
    max-width: 500px;
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.register-box {
    max-width: 900px;
}

/* Headings */
h1 {
    color: #377586;
    font-size: 30px;
    margin-bottom: 12px;
    font-weight: 600;
}

.subtitle {
    color: #377586;
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.85;
}

/* Role Buttons */
.role-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.role-btn {
    padding: 12px 32px;
    background-color: #f0f0f0;
    color: #377586;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border: 1.5px solid transparent;
    transition: all 0.25s ease;
}

.role-btn:hover {
    background-color: #e4e4e4;
    border-color: #377586;
}

/* Form */
.auth-form {
    margin-top: 30px;
    text-align: left;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #377586;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: border-color 0.25s;
}

.form-group input:focus {
    outline: none;
    border-color: #377586;
}

.form-group input::placeholder {
    color: #aaa;
}

.success-box {
    margin: 0;
    padding: 0;
    color: #377586;
    font-weight: 500;
}

.error-box {
    margin: 0;
    padding: 0;
    color: red;
}

/* Button */
.submit-btn {
    display: block;
    margin: 25px auto 0;
    padding: 12px 32px;
    background-color: #377586;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.25s;
}

.submit-btn:hover {
    background-color: #4a9aa5;
}

/* Footer text */
.bottom-link {
    margin-top: 24px;
    font-size: 14px;
    color: #377586;
    text-align: center;
}

.bottom-link a {
    color: #377586;
    text-decoration: none;
    font-weight: 500;
}

.bottom-link a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {

    .auth-container {
        padding: 25px 15px;
    }

    .auth-box {
        padding: 35px 25px;
        border-radius: 8px;
        width: 100%;
    }

    h1 {
        font-size: 22px;
    }

    .subtitle {
        font-size: 13px;
    }

    .role-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .role-btn {
        width: 100%;
        text-align: center;
    }

    .submit-btn {
        width: 100%;
    }
}
