:root {
    --primary: #ea580c;    /* Orange Tua */
    --secondary: #fb923c;  /* Orange Muda */
    --accent: #fff7ed;     /* Peach sangat muda untuk background */
    --bg-dark: #0f172a;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #f8fafc;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 1000px;
    min-height: 600px;
    background: #fff;
    display: flex;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    margin: 20px;
}

/* Kolom Kiri: Visual/Gradient */
.login-visual {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: white;
    position: relative;
}

.login-visual::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    /*background: url('https://www.transparenttextures.com/patterns/cubes.png');*/
    opacity: 0.1;
}

/* Kolom Kanan: Form */
.login-form-section {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.brand-logo {
    width: 80px;
    margin-bottom: 20px;
}

.welcome-text h2 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.welcome-text p {
    color: #64748b;
    margin-bottom: 30px;
}

/* Input Styling */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-control {
    height: 50px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding-left: 45px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 15px;
    color: #94a3b8;
    font-size: 20px;
}

.btn-login {
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-login:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Quick Links Row */
.quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 30px;
}

.quick-item {
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    text-decoration: none !important;
    transition: 0.3s;
}

.quick-item:hover {
    background: #e2e8f0;
    color: var(--primary);
}

.quick-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 850px) {
    .login-visual {
        display: none; /* Sembunyikan kolom visual di mobile */
    }
    .login-container {
        max-width: 450px;
    }
    .login-form-section {
        padding: 30px;
    }
}

.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Perbaikan Kontras Alert */
.alert-modern {
    background: rgba(220, 38, 38, 0.85) !important; /* Lebih pekat agar teks terlihat */
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Container untuk Password */
.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 14px;
    cursor: pointer;
    color: #94a3b8;
    z-index: 10;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #2563eb;
}