/* Custom Plugin Frontend Styles mimicking Tailwind Utilities */

.custom-plugin-wrapper {
  box-sizing: border-box;
}

.custom-plugin-wrapper * {
  box-sizing: border-box;
}

/* Layout */
.max-w-lg {
  max-width: 32rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.flex {
  display: flex;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.justify-center {
  justify-content: center;
}

.items-center {
  align-items: center;
}

.block {
  display: block;
}

.w-full {
  width: 100%;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

/* Spacing */
.p-4 {
  padding: 1rem;
}

.p-8 {
  padding: 2rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.ml-3 {
  margin-left: 0.75rem;
}

.-ml-1 {
  margin-left: -0.25rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

/* Typography */
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.custom-calendar-display {
    display: inline-block;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    color: inherit;
    letter-spacing: 0.025em;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.text-gray-700 {
  color: #374151;
}

.text-gray-800 {
  color: #1f2937;
}

.text-white {
  color: #ffffff;
}

.text-green-700 {
  color: #047857;
}

.text-green-400 {
  color: #34d399;
}

.text-red-700 {
  color: #b91c1c;
}

.text-red-400 {
  color: #f87171;
}

.placeholder-gray-400::placeholder {
  color: #9ca3af;
}

/* Borders */
.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-l-4 {
  border-left-width: 4px;
}

.border-gray-100 {
  border-color: #f3f4f6;
}

.border-gray-300 {
  border-color: #d1d5db;
}

.border-green-500 {
  border-color: #10b981;
}

.border-red-500 {
  border-color: #ef4444;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

/* Shadows */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Colors */
.bg-white {
  background-color: #ffffff;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-green-50 {
  background-color: #ecfdf5;
}

.bg-red-50 {
  background-color: #fef2f2;
}

.bg-blue-600 {
  background-color: #2563eb;
}

.hover\:bg-blue-700:hover {
  background-color: #1d4ed8;
}

/* Interactivity & Transitions */
.appearance-none {
  appearance: none;
}

.transition {
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
}

.duration-150 {
  transition-duration: 150ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(37, 99, 235, 0.5); /* simplified ring */
}

.focus\:ring-blue-500:focus {
  --tw-ring-color: #3b82f6;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 0 0 0 3px var(--tw-ring-color, rgba(59, 130, 246, 0.5));
}

.focus\:border-blue-500:focus {
  border-color: #3b82f6;
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}

/* Animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.h-5 {
  height: 1.25rem;
}

.w-5 {
  width: 1.25rem;
}

.opacity-25 {
  opacity: 0.25;
}

.opacity-75 {
  opacity: 0.75;
}

.menu-atas .menu .menu-item a {
  border-radius:7px
}

.form-pesan .wpcf7 {
  max-width:800px;
}
.form-pesan .wpcf7 label {
  font-weight: 600;
  padding: 5px;
}

/* Lantai Switcher Styles */
.lantai-switcher {
    margin: 20px 0;
    font-family: inherit;
}

.lantai-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.lantai-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.lantai-btn:hover {
    background: #eee;
}

.lantai-btn.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.lantai-content-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

.lantai-item-grid {
    /* display: flex; */
    flex-wrap: wrap;
    min-height: 400px;
    gap: 20px;
}

.lantai-col-left {
    flex: 0 0 calc(65% - 10px);
    max-width: calc(65% - 10px);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.lantai-left-text {
    padding: 20px 20px 0;
}

.lantai-left-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.lantai-left-desc {
    font-size: 14px;
    color: #666;
}

.lantai-image-container {
    padding: 20px 20px 0;
}

.lantai-left-title {
    font-size: 16px;
    font-weight: 600;
}

.lantai-image-container {
    border: solid 1px #dfdfdf;
    border-radius: 10px;
    margin: 20px;
    /* width: 100%; */
    /* height: 400px; */
    overflow: hidden;
}

.lantai-featured-image {
  padding: 20px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lantai-stok-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 20px;
    background: #fff;
    border-top: 1px solid #eee;
}

.lantai-col-right {
    /* flex: 0 0 calc(35% - 10px); */
    /* max-width: calc(35% - 10px); */
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.lantai-title {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.lantai-isi {
    line-height: 1.6;
    margin-bottom: 0;
    color: #555;
    font-size: 14px;
}

/* CTA Box Styles */
.lantai-cta-box {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid #d0e5ff;
    border-radius: 12px;
}

.cta-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.cta-text {
    margin: 0 0 15px 0;
    font-size: 12px;
    color: #4b5563;
    line-height: 1.4;
}

.cta-button {
    display: inline-block;
    padding: 10px 24px;
    background-color: #0066cc;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 20px;
    font-size: 12px;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: #0052a3;
}

@media (max-width: 768px) {
    .lantai-col-left, .lantai-col-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .lantai-col-left {
        height: auto;
    }

    .lantai-image-container {
        height: auto;
        margin: 10px;
    }

    .lantai-featured-image {
        height: auto;
        padding: 10px;
        object-fit: contain;
    }
}

.lantai-stok-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.stok-color-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Glassmorphism Effect */
.glass-morphism {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Background Animation Styles */
.bg-animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(180deg, #7eb3ef 0%, #0066CC 100%);
}

.bg-animation-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.bg-animation-circles span {
    position: absolute;
    display: block;
    bottom: -150px;
    background: rgba(255, 255, 255, 0.15); /* Warna gelembung (opacity ditingkatkan) */
    border-radius: 50%;
    backdrop-filter: blur(4px);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3), 0 0 30px rgba(255, 255, 255, 0.2); /* Efek cahaya/glow ditingkatkan */
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-1200px) rotate(720deg);
        opacity: 0;
    }
}

body.is-page-bottom .floating-button.whatsapp-floating,
body.is-page-bottom .floating-button.scroll-to-top {
    bottom: 3rem !important;
}