/* Login Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f5f7fb;
}

/* Layout Container */
.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: linear-gradient(rgba(245, 247, 251, .95), rgba(245, 247, 251, .95)), 
                url('../../images/pattern.png');
}

.login-card {
    width: 1000px;
    min-height: 600px;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
}

/* Left Side (Branding) */
.left-side {
    width: 50%;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    position: relative;
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.left-side::before, .left-side::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    z-index: 0;
}

.left-side::before { width: 350px; height: 350px; top: -120px; right: -120px; }
.left-side::after { width: 250px; height: 250px; left: -80px; bottom: -80px; background: rgba(255, 255, 255, .06); }

.logo { display: flex; align-items: center; gap: 15px; margin-bottom: 40px; position: relative; z-index: 2; }
.logo img { width: 50px; }
.hero-text p { color: rgba(255,255,255,.92); font-size: 16px; line-height: 1.8; margin-bottom: 28px; }
.hero-text h1 { font-size: 42px; font-weight: 700; color: #fff; margin-bottom: 18px; line-height: 1.2; }

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background: rgba(255,255,255,.12);
    padding: 14px 16px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    color: #fff;
}

.feature i {
    width: 42px;
    height: 42px;
    background: #fff;
    color: #16a34a;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 20px;
}

.feature h6 {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 4px;
}

.feature small {
    color: rgba(255,255,255,.92) !important;
    font-size: 14px;
}

.feature div {
    color: #ffffff;
}

.illustration { margin-top: auto; width: 300px; align-self: center; z-index: 2; }

/* Right Side (Form) */
.right-side { width: 50%; display: flex; justify-content: center; align-items: center; padding: 50px; }
.form-login { width: 100%; max-width: 400px; }
.form-control { height: 50px; border-radius: 12px; border: 1px solid #ddd; }
.form-control:focus { box-shadow: none; border-color: #16a34a; }
.input-group-text { border-radius: 12px 0 0 12px; background: white; border: 1px solid #ddd; }

.login-btn {
    width: 100%; height: 50px; border: none; border-radius: 12px;
    background: #16a34a; color: white; font-size: 16px; font-weight: 600; transition: .3s;
}
.login-btn:hover { background: #15803d; }

.divider { text-align: center; margin: 20px 0; position: relative; color: #777; font-size: 14px; }
.divider::before, .divider::after {
    content: ""; position: absolute; top: 50%; width: 40%; height: 1px; background: #ddd;
}
.divider::before { left: 0; }
.divider::after { right: 0; }

.google-btn { width: 100%; height: 50px; border: 1px solid #ddd; background: white; border-radius: 12px; font-weight: 600; transition: .3s; }
.google-btn:hover { background: #f5f5f5; }
.register a { color: #16a34a; font-weight: 600; text-decoration: none; }

/* SweetAlert Customization */
.swal-bs-popup { font-family: 'Poppins', sans-serif !important; border-radius: 18px !important; }
.swal-bs-progress { background: #16a34a !important; }
.swal2-icon.swal2-error { border-color: #dc2626 !important; }
.swal2-icon.swal2-success { border-color: #16a34a !important; }
.swal2-icon.swal2-success [class^='swal2-success-line'] { background-color: #16a34a !important; }
.swal2-icon.swal2-success .swal2-success-ring { border-color: rgba(22,163,74,.3) !important; }
