:root {
    --primary-color: #0d6efd;
    --font-family: 'Plus Jakarta Sans', sans-serif;
    --border-radius-lg: 1rem;
    --border-radius-md: 0.5rem;
    --gray-100: #f8f9fa;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
}

body.auth-bg {
    font-family: var(--font-family);
    background-color: var(--gray-100);
}

.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.auth-card {
    position: relative; /* Diperlukan untuk positioning tombol close */
    background-color: #ffffff;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: none;
    max-width: 1200px;
    width: 100%;
}

/* Styling Form Minimalis */
.form-group .form-label {
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}
.form-control {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--gray-300);
    border-radius: 0;
    padding: 0.75rem 0.5rem;
    transition: border-color 0.3s ease;
}
.form-control:focus {
    background-color: transparent;
    box-shadow: none;
    border-color: var(--primary-color);
}
.input-group-text {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--gray-300);
    border-radius: 0;
    padding-right: 0.5rem;
}
.input-group .form-control {
    padding-left: 0;
}


/* Tombol */
.btn-lg {
    padding: 0.8rem 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}
.btn-primary {
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}
a {
    color: var(--primary-color);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Pemisah "Atau" */
.separator {
    text-align: center;
    color: var(--gray-600);
    position: relative;
}
.separator::before, .separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background-color: var(--gray-300);
}
.separator::before { left: 0; }
.separator::after { right: 0; }

/* Tombol Social Media */
.btn-social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    font-size: 1.2rem;
}
.btn-social-icon:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.auth-card .col-md-6:first-child .img-fluid {
    max-width: 180px;
}

.btn-register-link {
    background-color: var(--gray-100);
    border: 1px solid var(--gray-300);
    color: var(--primary-color);
    font-weight: 600;
    width: 100%; /* Membuat lebar tombol penuh */
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius-md);
    text-decoration: none; /* Menghilangkan garis bawah */
    transition: all 0.3s ease;
}

.btn-register-link:hover {
    background-color: #198754; /* Warna hijau (Bootstrap success color) */
    border-color: #198754; /* Warna border hijau */
    color: #ffffff; /* Teks menjadi putih agar kontras */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.3); /* Bayangan hijau */
    text-decoration: none;
}

.btn-close-card {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--gray-600);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-close-card:hover {
    color: #dc3545; /* Warna merah (Bootstrap danger color) */
    transform: rotate(90deg);
}

.form-section-title {
    font-weight: 600;
    color: var(--gray-600);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-300);
}

.form-step {
    display: none;
}
.form-step.active {
    display: block;
}

/* Styling Progress Bar */
.progress-bar-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.progress-bar-line {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: var(--gray-300);
    z-index: 1;
}
.progress-step {
    position: relative;
    z-index: 2;
    text-align: center;
}
.progress-step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--gray-300);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 0.5rem auto;
    transition: background-color 0.4s ease;
}
.progress-step-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 600;
}

/* Styling untuk Step Aktif */
.progress-step.active .progress-step-icon {
    background-color: var(--primary-color);
}

.form-control.is-invalid {
    border-color: #dc3545;
}
.is-invalid ~ .invalid-feedback {
    display: block; /* Memaksa pesan error untuk tampil */
}