 /* Smooth scrolling */
 html {
     scroll-behavior: smooth;
 }

 /* ===== Content Styling for HTML Tags ===== */
 /* Style untuk konten yang di-generate dari Summernote/AI */
 .content-area h1,
 .content-area h2,
 .content-area h3,
 .content-area h4,
 .content-area h5,
 .content-area h6 {
     font-weight: 700;
     line-height: 1.3;
     margin-top: 1.5em;
     margin-bottom: 0.75em;
     color: #1f2937;
 }

 .content-area h1 {
     font-size: 2.25rem;
     border-bottom: 3px solid #3b82f6;
     padding-bottom: 0.5rem;
 }

 .content-area h2 {
     font-size: 1.875rem;
     border-bottom: 2px solid #60a5fa;
     padding-bottom: 0.4rem;
 }

 .content-area h3 {
     font-size: 1.5rem;
     color: #2563eb;
 }

 .content-area h4 {
     font-size: 1.25rem;
     color: #1e40af;
 }

 .content-area h5 {
     font-size: 1.125rem;
 }

 .content-area h6 {
     font-size: 1rem;
 }

 .content-area p {
     margin-bottom: 1.25em;
     line-height: 1.75;
     color: #4b5563;
 }

 .content-area ul,
 .content-area ol {
     margin-top: 1em;
     margin-bottom: 1.5em;
     padding-left: 2em;
     line-height: 1.75;
 }

 .content-area ul {
     list-style-type: disc;
 }

 .content-area ol {
     list-style-type: decimal;
 }

 .content-area ul ul {
     list-style-type: circle;
     margin-top: 0.5em;
     margin-bottom: 0.5em;
 }

 .content-area ul ul ul {
     list-style-type: square;
 }

 .content-area ol ol {
     list-style-type: lower-alpha;
     margin-top: 0.5em;
     margin-bottom: 0.5em;
 }

 .content-area ol ol ol {
     list-style-type: lower-roman;
 }

 .content-area li {
     margin-bottom: 0.5em;
     color: #4b5563;
 }

 .content-area li strong {
     color: #1f2937;
     font-weight: 600;
 }

 .content-area strong,
 .content-area b {
     font-weight: 600;
     color: #1f2937;
 }

 .content-area em,
 .content-area i {
     font-style: italic;
 }

 .content-area a {
     color: #3b82f6;
     text-decoration: underline;
     transition: color 0.2s;
 }

 .content-area a:hover {
     color: #2563eb;
 }

 .content-area blockquote {
     margin: 1.5em 0;
     padding: 1.25em 1.5em;
     border-left: 4px solid #3b82f6;
     background-color: #eff6ff;
     font-style: italic;
     color: #1e40af;
     border-radius: 0 0.5rem 0.5rem 0;
 }

 .content-area blockquote p {
     margin-bottom: 0;
     color: #1e40af;
 }

 .content-area code {
     background-color: #f3f4f6;
     padding: 0.2em 0.4em;
     border-radius: 0.25rem;
     font-size: 0.875em;
     font-family: 'Courier New', monospace;
     color: #dc2626;
 }

 .content-area pre {
     background-color: #1f2937;
     color: #f9fafb;
     padding: 1.25em;
     border-radius: 0.5rem;
     overflow-x: auto;
     margin: 1.5em 0;
 }

 .content-area pre code {
     background-color: transparent;
     padding: 0;
     color: #f9fafb;
 }

 .content-area img {
     max-width: 100%;
     height: auto;
     border-radius: 0.5rem;
     margin: 1.5em 0;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 }

 .content-area table {
     width: 100%;
     border-collapse: collapse;
     margin: 1.5em 0;
     border: 1px solid #e5e7eb;
     border-radius: 0.5rem;
     overflow: hidden;
 }

 .content-area table th {
     background-color: #f3f4f6;
     padding: 0.75em 1em;
     text-align: left;
     font-weight: 600;
     color: #1f2937;
     border-bottom: 2px solid #d1d5db;
 }

 .content-area table td {
     padding: 0.75em 1em;
     border-bottom: 1px solid #e5e7eb;
     color: #4b5563;
 }

 .content-area table tr:last-child td {
     border-bottom: none;
 }

 .content-area table tr:hover {
     background-color: #f9fafb;
 }

 .content-area hr {
     margin: 2em 0;
     border: none;
     border-top: 2px solid #e5e7eb;
 }

 /* First paragraph special style */
 .content-area>p:first-of-type {
     font-size: 1.125rem;
     color: #374151;
 }

 /* Custom animations */
 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes fadeInScale {
     from {
         opacity: 0;
         transform: scale(0.95);
     }

     to {
         opacity: 1;
         transform: scale(1);
     }
 }

 @keyframes slideInLeft {
     from {
         opacity: 0;
         transform: translateX(-30px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 @keyframes slideInRight {
     from {
         opacity: 0;
         transform: translateX(30px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 @keyframes float {

     0%,
     100% {
         transform: translateY(0px);
     }

     50% {
         transform: translateY(-10px);
     }
 }

 /* Animation classes */
 .animate-fade-in-up {
     animation: fadeInUp 0.6s ease-out;
 }

 .animate-fade-in-scale {
     animation: fadeInScale 0.6s ease-out;
 }

 .animate-slide-in-left {
     animation: slideInLeft 0.6s ease-out;
 }

 .animate-slide-in-right {
     animation: slideInRight 0.6s ease-out;
 }

 .animate-float {
     animation: float 3s ease-in-out infinite;
 }

 /* Gradient text */
 .gradient-text {
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 /* Glass effect */
 .glass-effect {
     background: rgba(255, 255, 255, 0.25);
     backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.18);
 }

 /* Hover scale effect */
 .hover-scale {
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .hover-scale:hover {
     transform: translateY(-5px) scale(1.02);
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
 }

 /* Button ripple effect */
 .btn-ripple {
     position: relative;
     overflow: hidden;
 }

 .btn-ripple::before {
     content: '';
     position: absolute;
     top: 50%;
     left: 50%;
     width: 0;
     height: 0;
     background: rgba(255, 255, 255, 0.3);
     border-radius: 50%;
     transition: width 0.6s, height 0.6s;
     transform: translate(-50%, -50%);
 }

 .btn-ripple:hover::before {
     width: 300px;
     height: 300px;
 }

 /* Smooth transitions */
 * {
     transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
     transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
     transition-duration: 150ms;
 }

 /* Custom scrollbar */
 ::-webkit-scrollbar {
     width: 8px;
 }

 ::-webkit-scrollbar-track {
     background: #f1f5f9;
 }

 ::-webkit-scrollbar-thumb {
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     border-radius: 4px;
 }

 ::-webkit-scrollbar-thumb:hover {
     background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
 }

 /* Loading states */
 .loading-skeleton {
     background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
     background-size: 200% 100%;
     animation: loading 1.5s infinite;
 }

 @keyframes loading {
     0% {
         background-position: 200% 0;
     }

     100% {
         background-position: -200% 0;
     }
 }

 /* Image lazy loading */
 img {
     transition: opacity 0.3s ease;
 }

 img[loading="lazy"] {
     opacity: 0;
 }

 img[loading="lazy"].loaded {
     opacity: 1;
 }