/* Reset Basic */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --navy-dark: #0f172a;       /* Biru gelap pelabuhan malam */
    --navy-medium: #111112;     /* Biru kontainer / profesional */
    --ocean-blue: #0284c7;      /* Biru laut cerah untuk tombol */
    --ocean-hover: #0369a1;     /* Biru laut saat di-hover */
    --anchor-gold: #f59e0b;     /* Warna aksen lampu/karat estetik */
    --light-bg: #a9d1fa;        /* Background abu-abu sangat muda */
    --text-muted: #64748b;
}

body {
    background: linear-gradient(135deg, #c8e2f2 0%, #90cff4 40%, #227f8b 100%); 
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #f8fafc;
}

/* Container Utama */
.login-container {
    display: flex;
    width: 1000px;
    max-width: 100%;
    height: 600px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* Sidebar Visual Pelabuhan (Kiri) */
.login-sidebar {
    flex: 1;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #ffffff;
}

/* Efek Ornamen Gelombang Laut / Estetika Pelabuhan minimalis */
.login-sidebar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: url('https://www.transparenttextures.com/patterns/wavecut.png'); /* Pattern gelombang halus */
    opacity: 0.1;
}

.sidebar-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.brand-icon {
    font-size: 3rem;
    color: var(--anchor-gold);
    margin-bottom: 20px;
}

.sidebar-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.sidebar-content p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* Section Form (Kanan) */
.login-form-section {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.form-box {
    width: 100%;
    max-width: 400px;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 1.75rem;
    color: var(--navy-dark);
    font-weight: 600;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Input Styling */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-medium);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--navy-dark);
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--ocean-blue);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
}

/* Options & Button */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.remember-me {
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.forgot-pass {
    color: var(--ocean-blue);
    text-decoration: none;
    font-weight: 600;
}

.forgot-pass:hover {
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background-color: var(--ocean-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.btn-login:hover {
    background-color: var(--ocean-hover);
}

/* Footer Form */
.form-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-footer a {
    color: var(--ocean-blue);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Responsive untuk HP/Tablet */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: auto;
    }
    .login-sidebar {
        padding: 30px;
        flex: none;
    }
    .login-form-section {
        padding: 35px 20px;
    }
}