/* ============================================
   STYLE CSS - PENGAIJAN AL HUDA
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

body {
    background: linear-gradient(145deg, #f0f7fc 0%, #e3ecf3 100%);
    min-height: 100vh;
}

/* ===== LOGIN ===== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    width: 100%;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    animation: fadeIn 0.6s ease;
}

.login-left {
    background: linear-gradient(145deg, #1e6f5c, #147a62);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.login-brand {
    position: relative;
    z-index: 2;
}

.brand-icon {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}
.brand-icon i {
    font-size: 40px;
}
.login-brand h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 6px;
}
.login-brand p {
    opacity: 0.8;
    font-size: 16px;
}

.login-illustration {
    position: relative;
    z-index: 1;
    margin-top: 30px;
}

.floating-shapes {
    position: relative;
    height: 120px;
}
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}
.shape-1 {
    width: 80px;
    height: 80px;
    background: white;
    top: 0;
    left: 20%;
    animation-delay: 0s;
}
.shape-2 {
    width: 50px;
    height: 50px;
    background: white;
    top: 40%;
    right: 10%;
    animation-delay: 2s;
}
.shape-3 {
    width: 100px;
    height: 100px;
    background: white;
    bottom: -20%;
    left: 50%;
    animation-delay: 4s;
}
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.login-right {
    padding: 48px 40px;
    display: flex;
    align-items: center;
}

.login-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.login-header {
    margin-bottom: 28px;
}
.login-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a3a3a;
}
.login-header p {
    color: #6b8a96;
    font-size: 14px;
    margin-top: 4px;
}

.login-form .form-group {
    margin-bottom: 16px;
}
.login-form label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #1a3a3a;
    margin-bottom: 4px;
}
.login-form label i {
    color: #1e6f5c;
    width: 20px;
}
.login-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #dce4ea;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafcfd;
}
.login-form input:focus {
    border-color: #1e6f5c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(30,111,92,0.15);
    background: white;
}

.btn-login {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #1e6f5c;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}
.btn-login:hover {
    background: #147a62;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30,111,92,0.3);
}
.btn-login i {
    transition: transform 0.3s ease;
}
.btn-login:hover i {
    transform: translateX(4px);
}

.login-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #eef2f7;
    text-align: center;
}
.login-footer p {
    font-size: 12px;
    color: #6b8a96;
    margin-bottom: 8px;
}
.demo-cred {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.demo-cred span {
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    background: #f0f4f8;
}
.admin-cred { color: #1e6f5c; }
.guest-cred { color: #6b5f3a; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Login */
@media (max-width: 768px) {
    .login-wrapper {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }
    .login-left {
        padding: 32px 24px;
        min-height: 200px;
    }
    .login-right {
        padding: 32px 24px;
    }
    .login-card {
        max-width: 100%;
    }
}
@media (max-width: 480px) {
    .login-left { min-height: 150px; }
    .login-brand h1 { font-size: 24px; }
    .brand-icon i { font-size: 30px; }
}