/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9fafb;
    overflow-x: hidden;
}

/* Background Gradasi */
.hero-section {
    background: linear-gradient(180deg, #109B3E 0%, #A7E9BD 100%);
    height: 350px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 24px;
    padding-left: 16px;
    padding-right: 16px;
    color: white;
    text-align: center;
}

/* Responsif Tinggi PC */
@media (min-width: 768px) {
    .hero-section {
        height: 400px;
    }
}

/* Gambar Bola Dunia */
.bg-world {
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    opacity: 0.4;
    pointer-events: none;
}

@media (min-width: 768px) {
    .bg-world {
        width: 400px;
    }
}

/* Header & Logo */
.header-container {
    width: 100%;
    max-width: 1024px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo-img {
    height: 32px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo-img {
        height: 40px;
    }
}

/* Menu Button */
.menu-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.menu-btn svg {
    width: 40px;
    height: 40px;
}

/* Hero Text & Button */
.hero-content {
    margin-top: 24px;
    z-index: 10;
}

.hero-content h2 {
    font-size: 1.25rem;
    /*font-weight: bold;*/
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .hero-content h2 {
        font-size: 1.75rem;
    }
}

.btn-get-started {
    background-color: white;
    color: #15803d;
    padding: 15px 32px;
    border-radius: 9999px;
    font-weight: bold;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: 0.3s;
}

/* Kotak Putih Melayang */
.form-card {
    position: absolute;
    top: 230px;
    background-color: white;
    color: #374151;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 92%;
    max-width: 600px;
    z-index: 20;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .form-card {
        top: 250px;
    }
}

.form-title {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #6b7280;
    letter-spacing: 0.025em;
}

/* Inputs */
.input-main {
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 9999px;
    padding: 12px 20px;
    margin-bottom: 16px;
    outline: none;
    transition: 0.3s;
}

.input-main:focus {
    border-color: #109B3E;
}

/* Checkbox & Logic */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    margin-bottom: 4px;
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #109B3E;
}

.label-text {
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

#passWrapper {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.line-separator {
    border-top: 1px solid #e5e7eb;
    margin: 12px 0;
}

.terms-text {
    font-size: 12px;
    line-height: 1.2;
    color: #4b5563;
    cursor: pointer;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    background-color: #109B3E;
    color: white;
    font-weight: bold;
    padding: 16px;
    border-radius: 9999px;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.3s;
    margin-top: 16px;
}

.btn-submit:active {
    transform: scale(0.95);
}

/* Sidebar Menu */
.sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    height: 100%;
    background-color: white;
    z-index: 50;
    box-shadow: -10px 0 15px rgba(0,0,0,0.1);
    transition: 0.3s;
    padding: 24px;
    text-align: left;
}

.close-btn {
    color: #16a34a;
    font-size: 2.25rem;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.sidebar-nav a {
    color: #15803d;
    text-decoration: none;
    font-weight: 600;
}

.overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.4);
    display: none;
    z-index: 40;
  }

/* --- Tambahan Fitur Show Password --- */

.password-container {
    position: relative;
    width: 100%;
    margin-top: 12px;
}

.password-input {
    padding-right: 50px !important; /* Agar teks tidak menabrak ikon mata */
    margin-bottom: 0 !important;
}

.eye-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.eye-icon {
    width: 22px;
    height: 22px;
    transition: color 0.3s;
}

.hidden {
    display: none;
}
/* ------------------------------------ */
