/* 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;
}

.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;
}

/* Comment Form Styles */
.comment-respond {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.comment-reply-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.comment-notes {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.comment-notes .required {
  color: #dc2626;
}

.comment-form .form-group {
  margin-bottom: 1rem;
}

.comment-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.comment-form .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #374151;
  background-color: #f9faf5;
  border: 1px solid transparent;
  border-radius: 0;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.comment-form .form-control:focus {
  outline: none;
  border-color: #d1d5db;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.comment-form .form-control::placeholder {
  color: #9ca3af;
}

.comment-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.comment-form-cookies-consent .form-check-input {
  margin-top: 0.25rem;
}

.comment-form-cookies-consent .form-check-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0;
}

.form-submit {
  margin-top: 1.5rem;
}

.form-submit #submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #22c55e;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.form-submit #submit:hover {
  background-color: #16a34a;
}

.form-submit #submit:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.5);
}

/* Captcha Styles */
.rr6a44b56296576 {
  margin-bottom: 1rem;
}

.rr6a44b56296576 img {
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  height: 40px;
}

.rr6a44b56296576 a {
  font-size: 0.875rem;
  color: #3b82f6;
  text-decoration: none;
}

.rr6a44b56296576 a:hover {
  text-decoration: underline;
}

.rr6a44b56296576 input[type="text"] {
  width: 100%;
  max-width: 200px;
  padding: 6px 10px;
  font-size: 0.8125rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 5px;
}

/* Responsive Layout for Name and Email Fields */
@media (min-width: 640px) {
  .comment-form-author,
  .comment-form-email {
    width: calc(50% - 0.5rem);
  }
  
  .comment-form-author {
    float: left;
    margin-right: 1rem;
  }
  
  .comment-form-email {
    float: right;
  }
  
  .comment-form-url {
    clear: both;
  }
}

.overlay-about {
  position:relative;
  
}
.overlay-about .fl-module-content {
  position:absolute;
  bottom:20px;
  left:-20px;
  background-color:var(--fl-global-accent);
  padding:20px;
  border-radius:5px;
}

@media (max-width: 768px) {
    /* Tulis CSS khusus mobile Anda di sini */
    .fl-node-3bgfp1jnsake .fl-slide-foreground{
      height:400px !important;
    }
	.fl-module-content-slider .fl-slide .fl-slide-content-wrap {
        display:flex;
        align-items:center
      }
  .fl-module-content-slider .fl-slide .fl-slide-content-wrap .fl-slide-content{
    min-height:400px !important;
  }
}
