@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap");

html,
body,
* {
    font-family: "Poppins", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.05) inset !important;
    -webkit-text-fill-color: #fafaf9 !important; /* sesuaikan warna text */
    transition: background-color 9999s ease-in-out 0s;
}

input,
textarea,
select {
    font-size: 16px;
}

/* Hide scrollbar */
.hide-scroll::-webkit-scrollbar {
    display: none;
}

.hide-scroll {
    -ms-overflow-style: none; /* IE & Edge */
    scrollbar-width: none; /* Firefox */
}

/* ===== INPUT PRIMARY ===== */
.input-primary {
    width: 100%;
    height: 44px; /* h-11 */
    padding-left: 40px; /* pl-10 */
    padding-right: 16px; /* pr-4 */

    border-radius: 12px; /* rounded-xl */

    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--foregrand);

    transition: all 0.2s ease;
}

.input-primary::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.input-primary:focus {
    outline: none;
    box-shadow: 0 0 0 1px var(--primary); /* focus:ring-primary/60 */
}

/* ===== BUTTON PRIMARY ===== */
.btn-primary {
    width: 100%;
    height: 44px; /* h-11 */
    margin-top: 12px; /* mt-3 */

    border-radius: 12px; /* rounded-xl */
    background: var(--primary, #3b82f6);

    color: #fff;
    font-size: 14px; /* text-sm */
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    cursor: pointer;
    transition: all 0.2s ease;
}

/* hover */
.btn-primary:hover {
    opacity: 0.9;
}

/* active (klik) */
.btn-primary:active {
    transform: scale(0.98);
}
