/* Custom styles from the original HTML file */
:root {
    --theme-primary: #FFD700;
    --theme-primary-dark: #EAB308;
}
.font-sarabun { font-family: 'Sarabun', sans-serif; }
.bg-primary-yellow { background-color: var(--theme-primary); }
.text-primary-yellow { color: var(--theme-primary); }
.border-primary-yellow { border-color: var(--theme-primary); }
.hover\:bg-yellow-500:hover { background-color: var(--theme-primary-dark); }
.focus\:border-primary-yellow:focus { border-color: var(--theme-primary); }
.focus\:ring-primary-yellow:focus { --tw-ring-color: var(--theme-primary); }
.bg-secondary-yellow { background-color: #FFF8DC; }
.bg-accent-yellow { background-color: #FFEB3B; }

/* Site-wide theme color: overrides the Tailwind CDN's yellow utility
   classes so the whole brand palette follows the admin-configured color. */
.border-yellow-200 { border-color: color-mix(in srgb, var(--theme-primary) 45%, white) !important; }
.hover\:text-yellow-600:hover { color: var(--theme-primary-dark) !important; }
.bg-yellow-50 { background-color: color-mix(in srgb, var(--theme-primary) 12%, white) !important; }

/* Notification style */
.notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background-color: #FFD700;
    color: #333;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.3s ease-in-out;
}
.notification.show {
    transform: translateX(0);
}

/* Like button animation */
.like-btn {
    transition: transform 0.2s ease;
}