:root {
    --cream: #fffbf4;
    --clear-white: #fdfdfd;
    --orange-brand: #FF6B00;
}

body {
    background-color: var(--cream);
    color: #1e1e2f;
}

.bg-clear-white {
    background-color: var(--clear-white);
}

input::-ms-reveal,
        input::-ms-clear {
            display: none;
        }

/* GALLERY SLIDER */
.gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.gallery-slide img {
    transition: transform 5s ease-out;
    transform: scale(1);
}
.gallery-slide.active img {
    transform: scale(1.08);
}

.chatbot-float {
    display: inline-flex;
    background-color: white;
    border-radius: 9999px;
    padding: 1rem;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.chatbot-float:hover {
    box-shadow: 0 25px 30px -5px rgba(0,0,0,0.15);
}

/* CARD PRODUK */
.card-white {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* BACKGROUND AUTH */
.auth-bg {
    background-color: var(--cream);
}

.bg-auth-full {
    background-color: var(--cream);
    position: relative;
    isolation: isolate;
}
.bg-auth-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='rgba(255,107,0,0.08)' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
    z-index: 0;
}
.bg-auth-full::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,107,0,0.1) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}
.auth-blur-circles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.auth-blur-circles div {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}
.auth-blur-circles div:first-child {
    background: #FF6B00;
    top: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite;
}
.auth-blur-circles div:last-child {
    background: #FFB347;
    bottom: -100px;
    right: -100px;
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
.animate-float {
    animation: float 8s ease-in-out infinite;
}

/* BACKGROUND FORM */
.bg-form-pattern {
    background-color: var(--cream, #fffbf4);
    background-image: radial-gradient(circle at 2px 2px, rgba(255,107,0,0.1) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

/* NAVBAR ACTIVE LINK */
.nav-link.active {
    color: var(--orange-brand);
    border-bottom: 2px solid var(--orange-brand);
    padding-bottom: 4px;
}

/* ANIMASI PROFIL */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.profile-animate {
    animation: fadeSlideUp 0.6s ease-out forwards;
}

/* FLIP CARD */
.perspective {
    perspective: 1000px;
}
.transform-style-preserve-3d {
    transform-style: preserve-3d;
}
.backface-hidden {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.rotate-y-180 {
    transform: rotateY(180deg);
}
.flipped .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-back .overflow-y-auto {
    scrollbar-width: thin;
}
.flip-card-back .overflow-y-auto::-webkit-scrollbar {
    width: 4px;
}
.flip-card-back .overflow-y-auto::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.flip-card-back .overflow-y-auto::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
