/* public/css/auth-custom.css */

/* Container Utama */
.auth-container {
    display: flex;
    justify-content: center; /* Membuat form otomatis ke tengah */
    align-items: center;
    min-height: calc(100vh - 120px);
    position: relative;
    overflow: hidden;
    background-color: #e0f2f1; /* Background toska sangat muda khas gambar */
    font-family: "Inter", "Segoe UI", sans-serif;
    width: 100%;
    padding: 2rem 0;
}

/* Background Melengkung di Sebelah Kanan */
.auth-bg-decorator1 {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    background-color: #209fa66f; /* Warna toska sesuai gambar */
    border-top-left-radius: 100% 50%;
    border-bottom-left-radius: 100% 50%;
    z-index: 1;
}
.auth-bg-decorator2 {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 35%;
    background-color: #209fa6a5; /* Warna toska sesuai gambar */
    border-top-left-radius: 100% 50%;
    border-bottom-left-radius: 100% 50%;
    z-index: 1;
}
.auth-bg-decorator3 {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 27%;
    background-color: #209fa6d2; /* Warna toska sesuai gambar */
    border-top-left-radius: 100% 50%;
    border-bottom-left-radius: 100% 50%;
    z-index: 1;
}

@media (max-width: 768px) {
    .auth-bg-decorator {
        display: none;
    }
}

/* Wrapper Area Form di Tengah */
.auth-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    z-index: 10;
    padding: 0 1rem;
}

/* Card Kotak Form Putih Melayang di Tengah */
.auth-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #b2dfdb;
    padding: 2rem 2.5rem;
    width: 100%;
    max-width: 420px; /* Ukuran pas sesuai gambar */
    box-sizing: border-box;
}

/* Header di dalam Card */
.auth-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.auth-card-logo {
    height: 4rem;
    margin-bottom: 0.25rem;
}

.auth-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #117a8b;
    margin: 0;
}

.auth-card-subtitle {
    font-size: 0.75rem;
    color: #757575;
    margin-top: 0.1rem;
}

/* Form Styling */
.auth-form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.auth-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #212121;
    margin-bottom: 0.4rem;
}

.auth-input-wrapper {
    position: relative;
    display: block;
}

.auth-input {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box;
    padding: 0.6rem 1rem;
    border: 1px solid #b0bec5;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    color: #37474f;
    transition: all 0.2s;
}

.auth-input:focus {
    outline: none;
    border-color: #117a8b;
    box-shadow: 0 0 0 3px rgba(17, 122, 139, 0.15);
}

/* Tombol Submit di Tengah & Lonjong */
.auth-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.auth-btn-primary {
    background-color: #117a8b; /* Warna tombol toska tua */
    color: #ffffff;
    font-weight: 600;
    padding: 0.5rem 2.5rem; /* Padding pas agar lonjong & tidak memenuhi lebar */
    border: none;
    border-radius: 20px; /* Membuat ujung tombol membulat penuh */
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color 0.2s;
    text-align: center;
}

.auth-btn-primary:hover {
    background-color: #0d626f;
}

/* Pembatas Atau */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.2rem 0;
    color: #9e9e9e;
    font-size: 0.75rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.auth-divider span {
    padding: 0 0.75rem;
}

/* Tombol Google Lonjong Toska */
.auth-btn-google-container {
    display: flex;
    justify-content: center;
}

.auth-btn-google {
    background-color: #00838f; /* Toska gelap khas tombol google di gambarmu */
    border: none;
    color: #ffffff;
    padding: 0.6rem 2rem;
    border-radius: 20px; /* Bentuk lonjong membulat */
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}

.auth-btn-google:hover {
    background-color: #006064;
}

/* Teks bawah */
.auth-footer-text {
    text-align: center;
    font-size: 0.75rem;
    color: #616161;
    margin-top: 1.2rem;
}

.auth-link {
    color: #117a8b;
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    text-decoration: underline;
}
