/* css/auth_glassmorphism.css */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #2a2b2e; /* Dark Volcanic Ash */
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Liquid Glass Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.03); /* Translucent */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.15); /* Outline lebih tegas */
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.05), 0 15px 50px 0 rgba(0, 0, 0, 0.5); /* Inner white glow & drop shadow */
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
}

.glass-panel h2 {
    color: #E67835;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 26px;
    font-weight: 700;
}

.glass-panel p {
    color: #aaaaaa;
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 25px;
    margin-top: 0;
}

.auth-form {
    margin-top: 25px;
    text-align: left;
}

.auth-form input:not([type="file"]) {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 20px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    outline: none;
    font-size: 15px;
    transition: border 0.3s ease, background 0.3s ease;
}

.auth-form input:not([type="file"]):focus {
    border: 1px solid #E67835;
    background: rgba(0, 0, 0, 0.4);
}

.auth-form input[type="file"] {
    width: 100%;
    padding: 12px 0;
    color: #ccc;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.auth-btn {
    background: #E67835;
    color: #000;
    font-weight: 700;
    padding: 16px 20px;
    width: 100%;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.05em;
    transition: 0.3s ease;
    margin-top: 10px;
}

.auth-btn:hover {
    background: #c96020;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 120, 53, 0.3);
}

.auth-links {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.95em;
    color: #999;
}

.auth-links a {
    color: #cccccc;
    text-decoration: none;
    transition: 0.3s ease;
    font-weight: 500;
}

.auth-links a:hover {
    color: #E67835;
}

/* Alert Boxes for verify/reset */
.info-box {
    color: #E67835;
    padding: 20px;
    border: 1px dashed rgba(230, 120, 53, 0.5);
    background: rgba(230, 120, 53, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
}

.error-box {
    color: #ff3b1d;
    padding: 20px;
    border: 1px dashed rgba(255, 59, 29, 0.5);
    background: rgba(255, 59, 29, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
}

.success-box {
    color: #2ecc71;
    padding: 20px;
    border: 1px dashed rgba(46, 204, 113, 0.5);
    background: rgba(46, 204, 113, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
