@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #fafaf9; /* Latar belakang off-white yang lebih clean */
    margin: 0;
}

.pw-auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
    background-color: #fafaf9; 
}

.pw-auth-card {
    width: 100%;
    max-width: 24rem; 
    padding: 2.5rem;
    background-color: white;
    border-radius: 1.25rem; /* Sudut lebih melengkung ala aplikasi modern */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01); /* Shadow yang lebih halus dan luas */
}

.pw-auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pw-logo {
    width: 5rem; 
    margin: 0 auto 1rem;
    border-radius: 50%;
    object-fit: contain;
}

.pw-title {
    font-size: 1.5rem; 
    font-weight: 700;
    color: #1c1917; 
    text-align: center;
}

.pw-subtitle {
    margin-top: 0.5rem;
    font-size: 0.875rem; 
    color: #78716c; 
    text-align: center;
}

.pw-input-group {
    margin-bottom: 1.25rem;
}

.pw-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 0.875rem 1rem; /* Input lebih tinggi */
    background-color: #ffffff; 
    border: 1px solid #e7e5e4; 
    border-radius: 0.75rem; 
    color: #1c1917;
    transition: all 0.2s ease-in-out;
}

/* Efek Glow Orange saat input diklik/fokus */
.pw-input:focus {
    outline: none;
    border-color: #f97316; /* Warna utama orange */
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.pw-input::placeholder {
    color: #a8a29e; 
}

/* Style Tombol Orange */
.pw-button {
    width: 100%;
    padding: 0.875rem;
    font-weight: 600;
    color: white;
    background-color: #f97316; /* Warna utama orange */
    border: none;
    border-radius: 0.75rem; 
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-size: 1rem;
    box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.2), 0 2px 4px -2px rgba(249, 115, 22, 0.2);
}

.pw-button:hover {
    background-color: #ea580c; /* Orange lebih gelap saat di-hover */
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(249, 115, 22, 0.3), 0 4px 6px -2px rgba(249, 115, 22, 0.2);
}

.pw-button:active {
    transform: translateY(0);
}

.pw-footer-link {
    text-align: center;
    font-size: 0.875rem; 
    color: #57534e; 
    margin-top: 1.5rem;
}

.pw-footer-link a {
    font-weight: 600;
    color: #f97316; 
    text-decoration: none;
    transition: color 0.2s;
}

.pw-footer-link a:hover {
    color: #ea580c; 
    text-decoration: underline;
}

/* Style Notifikasi Error & Sukses */
.pw-error, .pw-success {
    padding: 0.875rem;
    margin-bottom: 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
    font-weight: 500;
}

.pw-error {
    background-color: #fef2f2; 
    color: #ef4444; 
    border: 1px solid #fecaca;
}

.pw-success {
    background-color: #f0fdf4; 
    color: #22c55e; 
    border: 1px solid #bbf7d0;
}

.pw-radio-label {
    display: block;
    font-size: 0.875rem;
    color: #44403c; 
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.pw-radio-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 400px) {
    .pw-radio-options {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.pw-radio-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #57534e;
}

.pw-radio-options input[type="radio"] {
    accent-color: #f97316; /* Checkbox/Radio button warnanya jadi orange */
    width: 1.1rem;
    height: 1.1rem;
}

/* --- PERSIAPAN CSS UNTUK KOTAK OTP (Dari Request Revisi) --- */
.pw-otp-container {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.pw-otp-input {
    width: 3.5rem;
    height: 3.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 1px solid #e7e5e4;
    border-radius: 0.75rem;
    color: #1c1917;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
}

.pw-otp-input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.pw-otp-resend {
    text-align: center;
    font-size: 0.875rem;
    color: #78716c;
    margin-bottom: 1.5rem;
}

.pw-otp-resend button {
    background: none;
    border: none;
    color: #f97316;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.pw-otp-resend button:disabled {
    color: #a8a29e;
    cursor: not-allowed;
    text-decoration: none;
}