/* Author of this APU SFF 2.0 Website/Project/System/Maintainer: Khoo Lay Bin TP083872 (https://khoolb.com), Khoo Lay Yang TP070513 (https://www.dkly.net)
Date: 2025-12-29
Description: Stylesheet for login.php, register.php, forget-pass.php 
*/

* {
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    font-family: 'Inter';
    overflow-x: hidden;
}


.middle {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.middle h2 {
    color: #ffffff;
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.main_card {
    background-color: #121212;
    border: 1px solid #1f1f1f;
    border-radius: 28px;
    padding: 40px;
    text-align: center;
}

.main_card h1 {
    color: #ffffff;
    font-size: 28px;
    margin: 0 0 10px 0;
}

.main_card p {
    color: #888888;
    font-size: 14px;
    margin-bottom: 30px;
}

.main_card p:last-child {
    margin-top: 25px;
    color: #888;
}

.main_card a {
    color: #4ADE80;
    text-decoration: none;
    font-weight: bold;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.input-group label {
    color: #eeeeee;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.input-box {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #2d2d2d;
    border-radius: 12px;
    padding: 14px 16px;
    color: #ffffff;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
    font-size: 16px;
}

.input-box:focus {
    border-color: #22C55E;
}

.password-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
}

.password-group label {
    margin-bottom: 0;
}

.password-group a {
    color: #48a15e;
    font-size: 12px;
    text-decoration: none;
}

.password-group a:hover {
    text-decoration: underline;
}

/* Error message */
.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    align-items: center;
}

.error::before {
    content: "●";
    margin-right: 8px;
    font-size: 10px;
}

/* Register steps */
.form-step {
    display: none;
    width: 100%;
}

.form-step.step-active {
    display: block;
}

.section-title {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
}

/* Next/Prev/Submit buttons */
.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.btn-next,
.btn-prev,
.btn-submit {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-next {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.1));
    backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #4ade80;
}

.btn-prev {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.15));
    backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(34, 197, 94, 0.4);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    color: #4ade80;
    cursor: pointer;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
    padding: 10px 0;
}

.radio-group label {
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.radio-group input[type="radio"] {
    accent-color: #22C55E;
}

.txt-container select {
    width: 100%;
    background-color: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    padding: 7px 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    padding-right: 25px;
}

.txt-container select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 10px;
}

.main_card .form-field {
    margin-bottom: 20px;
}

.main_card .form-field label {
    color: #eeeeee;
    font-size: 14px;
    font-weight: 500;
    opacity: 1;
}

.txt-container input,
.txt-container textarea {
    font-size: 16px;
}