* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url("/images/bg/background.jpg");
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center; /* Center Horizontal */
    align-items: center;     /* Center Vertikal */
    overflow: hidden;        /* Mencegah scroll saat ada alert */
}

.login-container {
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 20px;
    z-index: 1;
}

h2 {
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 400;
}

h3 {
    font-size: 22px;
    margin-bottom: 30px;
    font-weight: 300;
}

.input-group {
    margin-bottom: 15px;
    position: relative;
}

input[type="email"], 
input[type="password"] {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    outline: none;
    font-size: 16px;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Password Toggle Icon */
.password-wrapper i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
}

.btn-signin {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 30px;
    background-color: #f8d4bc; /* Warna krem pastel sesuai gambar */
    color: #333;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-signin:hover {
    background-color: #f3c1a0;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 14px;
}

.forgot-link {
    color: white;
    text-decoration: none;
}

.divider {
    margin: 40px 0 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.social-login {
    display: flex;
    gap: 10px;
}

.btn-social {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: white;
    color: #333;
    font-weight: 500;
    cursor: pointer;
}

/* Checkbox Customization */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-container input {
    margin-right: 8px;
    accent-color: #f8d4bc;
}

/* Custom Class untuk SweetAlert */
.my-swal-popup {
    border-radius: 15px !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    margin: auto !important;
}

.my-swal-title {
    color: #444 !important;
    font-weight: 600 !important;
}

.my-swal-content {
    color: #666 !important;
}

.my-swal-button {
    border-radius: 8px !important;
    padding: 10px 30px !important;
}

.swal2-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    height: 100vh !important;
}