/* ===========================
   GOOGLE FONT
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===========================
   RESET
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* ===========================
   BACKGROUND ANIMATED
=========================== */
body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #0b3d2e, #14532d, #1f2933, #166534);
    background-size: 400% 400%;
    animation: gradientMove 14s ease infinite;
}

@keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===========================
   LOGIN CARD (PUTIH SOLID)
=========================== */
.container {
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    padding: 36px 32px 42px;
    border-radius: 18px;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.30);
    animation: fadeSlide 0.9s ease;
}

/* Animation */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   LOGO
=========================== */
.logo-box {
    text-align: center;
    margin-bottom: 28px;
}

.logo-box img {
    max-width: 150px;
    height: auto;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,0.35));
}

/* Floating logo */
@keyframes logoFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* ===========================
   FORM INPUT
=========================== */
.input-box {
    position: relative;
    margin-bottom: 20px;
}

.input-box i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #22c55e;
    font-size: 15px;
}

.input-box input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 40px;
    border-radius: 10px;
    border: 1.5px solid #E5E7EB;
    outline: none;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-box input::placeholder {
    color: #9CA3AF;
}

.input-box input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

/* ===========================
   BUTTON
=========================== */
.button input {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #14532d, #166534);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button input:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(20, 83, 45, 0.45);
}

.button input:active {
    transform: scale(0.97);
}

/* ===========================
   ERROR MESSAGE
=========================== */
.error {
    background: #FEE2E2;
    color: #991B1B;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 13px;
    text-align: center;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 480px) {
    .container {
        margin: 0 15px;
        padding: 32px 24px 36px;
    }

    .logo-box img {
        max-width: 120px;
    }
}
/* ===========================
   LOGIN FOOTER (LOGO & WA)
=========================== */
.login-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;

    /* INI KUNCI SIMETRIS */
    padding-left: 32px;
    padding-right: 32px;
}


/* LOGO ARBIAN - KIRI */
.logo-arbian img {
    height: 60px;
    opacity: 1;
}

/* WHATSAPP - KANAN */
.wa-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.wa-icon:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
}
.logo-box {
    display: none;
}
/* ===========================
   FOTO PROFIL ATAS
=========================== */
.profile-photo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.profile-photo img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #22c55e;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.login-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;

    width: 100%;
    margin: 30px auto 0;

    align-items: center;
    column-gap: 28px;

    padding: 0 20px;

    /* 🔑 KOREKSI VISUAL KE KIRI */
    transform: translateX(-10px);
}


}

.logo-arbian {
    text-align: left;
}

.logo-arbian img {
    height: 52px;
}
.wa-icon {
    justify-self: center;
}
.logo-ianseo {
    text-align: right;
}

.logo-ianseo img {
    height: 38px;
    opacity: 0.9;
}
.logo-arbian {
    justify-self: start;
}

.wa-icon {
    justify-self: center;
}

.logo-ianseo {
    justify-self: end;
}

