/* Import font Baloo 2 dengan berat tertentu */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;700&display=swap');

/* Import font Fredoka dengan berat tertentu */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: 'Baloo 2', cursive;
}

.fredoka-font {
    font-family: 'Fredoka';
}

.bg-star {
    height: 100%;
    width: 100%;
    background-image: url('../images/lp/bg-star.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
}

/* Form Input */
.custom-form-input {
    display: block;
    width: 100%;
    padding: 0.75rem;
    /* Default padding untuk layar kecil */
    font-size: 0.875rem;
    /* text-sm */
    /* line-height: 1.25rem; */
    color: #374151;
    /* text-gray-800 */
    background-color: #f8fafc;
    /* bg-white */
    border: 1px solid #d1d5db;
    /* border-gray-300 */
    border-radius: 0.5rem;
    /* rounded-lg */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    /* shadow-sm */
    transition: all 0.2s ease-in-out;
}

.custom-form-input:hover {
    border-color: #9ca3af;
    /* border-gray-400 */
}

.custom-form-input:focus {
    outline: none;
    border-color: #5bb6d0;
    /* Fokus dengan warna biru muda */
    box-shadow: 0 0 0 2px #5bb6d0;
    /* Fokus */
}

.custom-form-input:disabled {
    background-color: #f9fafb;
    /* bg-gray-100 */
    color: #9ca3af;
    /* text-gray-500 */
    cursor: not-allowed;
}

@media (min-width: 768px) {
    .custom-form-input {
        padding: 0.75rem 1rem;
        /* md:px-4 md:py-3 */
        font-size: 1rem;
        /* md:text-base */
    }
}

/* Input Group */
.custom-input-group {
    display: flex;
    width: 100%;
    align-items: center;
    border: 1px solid #d1d5db;
    /* border-gray-300 */
    border-radius: 0.5rem;
    /* rounded-lg */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.custom-input-group:focus-within {
    border-color: #5bb6d0;
    /* Fokus dengan warna biru muda */
    box-shadow: 0 0 0 2px #5bb6d0;
    /* Fokus */
}

/* Prefix */
.custom-input-group-prefix {
    background-color: #dbe6f0;
    /* bg-slate-100 */
    padding: 0.75rem;
    /* px-3 py-2 */
    font-size: 0.875rem;
    /* text-sm */
    color: #374151;
    /* text-gray-800 */
    border-right: 1px solid #d1d5db;
    /* Menyelaraskan border antara prefix dan input */
    border-radius: 0.5rem 0 0 0.5rem;
    /* Sesuaikan dengan form input */
}

@media (min-width: 768px) {
    .custom-input-group-prefix {
        padding: 0.75rem 1rem;
        /* md:px-4 md:py-3 */
        font-size: 1rem;
        /* md:text-base */
    }
}

/* Input */
.custom-input-group-input {
    flex: 1;
    width: 100%;
    padding: 0.65rem;
    /* px-3 py-2 */
    font-size: 0.875rem;
    /* text-sm */
    color: #374151;
    /* text-gray-800 */
    background-color: #f8fafc;
    /* bg-white */
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    /* Sesuaikan dengan form input */
    outline: none;
}

.custom-input-group-input:focus {
    box-shadow: none;
    /* Menghapus ring bawaan */
}

@media (min-width: 768px) {
    .custom-input-group-input {
        padding: 0.75rem 1rem;
        /* md:px-4 md:py-3 */
        font-size: 1rem;
        /* md:text-base */
    }
}

.bg-orange-100 {
    background-color: #ffedd5;
    /* bg-orange-100 */
}

.bg-orange-200 {
    background-color: #fed7aa;
    /* bg-orange-200 */
}

.bg-orange-500 {
    background-color: #f97316;
}

.bg-orange-500:hover {
    background-color: #ea580c;
}

.bg-orange-600:hover {
    background-color: #c2410c;
    /* Warna hover untuk orange 600 */
}

.text-orange-700 {
    color: #c2410c;
    /* text-orange-700 */
}

.text-orange-800 {
    color: #b45309;
    /* text-orange-800 */
}

.btn-cyan {
    display: inline-block;
    width: 100%;
    /* Untuk tombol block */
    background-color: #0891b2;
    /* bg-cyan-600 */
    color: #ffffff;
    /* text-white */
    font-weight: 500;
    /* font-medium */
    padding: 0.75rem 1rem;
    /* py-2 px-4 */
    border: none;
    border-radius: 0.5rem;
    /* rounded-lg */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    /* shadow-md */
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    /* Smooth hover effect */
    align-items: center;
}

.btn-cyan:hover {
    background-color: #0e7490;
    /* hover:bg-cyan-700 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Slightly elevated shadow */
}

.btn-cyan:disabled {
    background-color: #94d3e5;
    /* Lightened cyan for disabled state */
    color: #e0f2f7;
    /* Soft white text for disabled */
    cursor: not-allowed;
    opacity: 0.6;
}

.label {
    display: block;
    margin-bottom: 0.25rem;
    /* mb-2 */
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 600;
    /* font-semibold */
    color: #6b7280;
    /* text-gray-500 */
}

@media (min-width: 768px) {
    .label {
        font-size: 1rem;
        /* md:text-lg */
    }
}

.p-8 {
    padding: 2rem;
    /* 8 x 0.25rem = 2rem */
}

/* Padding horizontal 2rem (px-8) */
.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Padding vertikal 2rem (py-8) */
.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .md\:p-8 {
        padding: 2rem;
    }

    .md\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .md\:py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

.bg-black {
    background-color: #000000;
    /* Warna hitam */
}

.bg-opacity-50 {
    background-color: rgba(0, 0, 0, 0.5);
    /* Warna hitam dengan 50% opasitas */
}

#privacyModal {
    overflow-y: auto;
    /* Mengaktifkan scroll vertikal */
}

#privacyModal>div {
    max-height: 90vh;
    /* Batas tinggi modal untuk mencegah overflow */
    overflow-y: auto;
    /* Scroll hanya di dalam modal jika konten terlalu panjang */
}

.bg-cyan-50 {
    background-color: #ecfeff;
}

.bg-cyan-100 {
    background-color: #cffafe;
}

.bg-cyan-200 {
    background-color: #a5f3fc;
}

.bg-cyan-300 {
    background-color: #67e8f9;
}

.bg-cyan-400 {
    background-color: #22d3ee;
}

.bg-cyan-500 {
    background-color: #06b6d4;
}

.bg-cyan-600 {
    background-color: #0891b2;
}

.bg-cyan-700 {
    background-color: #0e7490;
}

.bg-cyan-800 {
    background-color: #155e75;
}

.bg-cyan-900 {
    background-color: #164e63;
}

.bg-cyan-950 {
    background-color: #083344;
}

.hover\:bg-cyan-50:hover {
    background-color: #ecfeff;
}

.hover\:bg-cyan-100:hover {
    background-color: #cffafe;
}

.hover\:bg-cyan-200:hover {
    background-color: #a5f3fc;
}

.hover\:bg-cyan-300:hover {
    background-color: #67e8f9;
}

.hover\:bg-cyan-400:hover {
    background-color: #22d3ee;
}

.hover\:bg-cyan-500:hover {
    background-color: #06b6d4;
}

.hover\:bg-cyan-600:hover {
    background-color: #0891b2;
}

.hover\:bg-cyan-700:hover {
    background-color: #0e7490;
}

.hover\:bg-cyan-800:hover {
    background-color: #155e75;
}

.hover\:bg-cyan-900:hover {
    background-color: #164e63;
}

.hover\:bg-cyan-950:hover {
    background-color: #083344;
}

.text-cyan-700 {
    color: #0e7490;
}

.w-18 {
    width: 18px;
}

.h-18 {
    height: 18px;
}

.toast {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}