.sidebar-gradient {
    background: linear-gradient(135deg, #068fd7, #025e96, #012a4a);
    position: relative;
    overflow: hidden;
}

.sidebar-gradient::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23068fd7" fill-opacity="1" d="M0,64L48,58.7C96,53,192,43,288,69.3C384,96,480,160,576,165.3C672,171,768,117,864,90.7C960,64,1056,64,1152,64C1248,64,1344,64,1392,64L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

.header-gradient {
    background: linear-gradient(135deg, #068fd7, #40bfff, #a8eaff, #ffffff);
    position: relative;
    height: 74px;
    z-index: 10;
}

.user-menu-gradient {
    background: linear-gradient(125deg, #6fd3f5, #a8eaff, #ffffff 40%);
    position: relative;
    z-index: 10;
    border-radius: 10px; /* Soft rounded edges */
}

.body-gradient {
    background: linear-gradient(115deg, #068fd7 10%, #a8eaff, #ffffff);
    min-height: 100vh; /* Ensures full-page coverage */
    background-attachment: fixed; /* Prevents the gradient from repeating */
    background-size: cover; /* Ensures a smooth transition */
    position: relative;
    z-index: 0; /* Ensure it stays behind all elements */
}

.shortcut-menu-gradient {
    background: linear-gradient(150deg, #025e96, #068fd7, #a8eaff);
/*    z-index: 10;*/
/*    border-radius: 10px; !* Soft rounded edges *!*/
}

.menu-cepat {
    background: linear-gradient(135deg, #ffd700, #ffea70); /* Bright yellow gradient */
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3); /* Subtle yellow shadow */
    transition: all 0.3s ease-in-out; /* Smooth hover effect */
}

/* Glow effect on hover */
.menu-cepat:hover {
    background: linear-gradient(135deg, #ffcc00, #ffff99); /* Slightly brighter yellow */
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.5); /* Stronger glow */
    transform: translateY(-2px); /* Slight lift effect */
}

.menu-cepat .menu-title {
    font-weight: bold;
    color: #222222 !important; /* Dark text for contrast */
}

.login-form-gradient {
    background: linear-gradient(145deg, #068fd7, #a8eaff, #ffffff);
    padding: 30px;
    border-radius: 12px; /* Smooth rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Soft shadow for depth */
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect on hover */
.login-form-gradient:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

/* Make form inputs visually engaging */
.login-form-gradient .form-control {
    color: #222; /* Darker text for better contrast */
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 12px;
    transition: 0.3s;
}

/* Input focus effect */
.login-form-gradient .form-control:focus {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 10px rgba(0, 143, 215, 0.3);
    border: 1px solid #068fd7;
    color: #000; /* Ensures text is always visible */
}

/* Improve button look */
.login-form-gradient .btn-primary {
    background: linear-gradient(135deg, #ffcc00, #ffea70);
    border: none;
    font-weight: bold;
    padding: 12px;
    transition: 0.3s;
}

/* Button hover effect */
.login-form-gradient .btn-primary:hover {
    background: linear-gradient(135deg, #ffb700, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.4);
}

/* Improve separator text visibility */
.login-form-gradient .separator span {
    color: #444 !important;
    font-weight: bold;
}

/* Improve button text readability */
.login-form-gradient .btn-primary {
    color: #222 !important; /* Darker text for better contrast */
    font-weight: bold;
}

/* Improve small text readability */
.login-form-gradient .text-gray-500,
.login-form-gradient .fs-6,
.login-form-gradient .fs-7 {
    color: #333 !important; /* Darker for better readability */
}

/* Enhance placeholder text */
.login-form-gradient .form-control::placeholder {
    color: rgba(0, 0, 0, 0.6); /* Slightly darker placeholder */
    font-weight: 500;
    opacity: 1; /* Ensure full visibility */
}

.card-gradient {
    background: linear-gradient(135deg, #fff6cc, #ffeb99, #ffffff);
    border-radius: 12px; /* Smooth rounded corners */
    box-shadow: 0 4px 8px rgba(255, 204, 0, 0.2); /* Softer yellow glow */
    transition: all 0.3s ease-in-out;
}

/* Subtle hover effect */
.card-gradient:hover {
    background: linear-gradient(135deg, #fff3b3, #ffea80, #ffffff);
    box-shadow: 0 6px 12px rgba(255, 204, 0, 0.3); /* Gentle glow */
    transform: translateY(-2px);
}

.card-gradient-green {
    background: linear-gradient(135deg, #e6f9e6, #baf7ba, #ffffff);
    border-radius: 12px; /* Smooth rounded corners */
    box-shadow: 0 4px 8px rgba(0, 204, 102, 0.2); /* Softer green glow */
    transition: all 0.3s ease-in-out;
}

/* Subtle hover effect */
.card-gradient-green:hover {
    background: linear-gradient(135deg, #d4f8d4, #a8f3a8, #ffffff);
    box-shadow: 0 6px 12px rgba(0, 204, 102, 0.3); /* Gentle glow */
    transform: translateY(-2px);
}

.statistik-gradient {
    background: linear-gradient(135deg, #013660, #025a9a, #3b82d8);
    border-radius: 12px; /* Smooth rounded corners */
    box-shadow: 0 4px 8px rgba(0, 143, 215, 0.2); /* Soft glow */
    color: white; /* Ensures text remains readable */
    position: relative;
    overflow: hidden;
    border: none; /* Remove any white borders */
    z-index: 1; /* Ensure it stays above the wave */
}

/* Fix the wave position */
.statistik-gradient::before {
    content: "";
    position: absolute;
    bottom: -5px; /* Push the wave slightly down */
    left: 0;
    width: 100%;
    height: 50px; /* Adjust wave height */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"><path fill="%2302569a" fill-opacity="1" d="M0,50L80,60C160,70,320,90,480,85C640,80,800,50,960,45C1120,40,1280,60,1360,70L1440,80L1440,100L1360,100C1280,100,1120,100,960,100C800,100,640,100,480,100C320,100,160,100,80,100L0,100Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.9; /* Ensures visibility */
    pointer-events: none;
    z-index: -1; /* Keeps it behind the content */
}

/* Ensure text remains fully visible */
.statistik-gradient .card-title,
.statistik-gradient span {
    position: relative;
    z-index: 2; /* Keeps text above the wave */
    color: white !important;
}

/* Subtle hover effect */
.statistik-gradient:hover {
    background: linear-gradient(135deg, #012b4d, #024b7e, #3176c4);
    box-shadow: 0 6px 12px rgba(0, 143, 215, 0.3);
    transform: translateY(-2px);
}

.table-gradient {
    background: linear-gradient(135deg, #cde4ff, #e8f4ff, #ffffff);
    border-radius: 12px; /* Smooth rounded corners */
    box-shadow: 0 4px 8px rgba(0, 143, 215, 0.1); /* Subtle soft shadow */
    padding: 0 10px; /* Fix unwanted padding */
}

/* Fix for the table container */
.table-gradient .card-body {
    background: none; /* Removes unwanted white background */
    padding: 20px; /* Keep spacing inside */
}

/* Table Styling */
.table-gradient table {
    border-radius: 8px; /* Soft edges */
    padding: 0px;
}

/* Table Header: Improve visibility */
.table-gradient thead th {
    font-weight: bold;
    font-size: 14px;
    color: #034b80 !important; /* Darker blue for contrast */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Table Body: Improve row text readability */
.table-gradient tbody td {
    font-size: 13.5px;
    color: #555 !important; /* Darker gray for better contrast */
    font-weight: 500;
    padding: 12px;
}

/* Hover Effect: Subtle text highlight */
.table-gradient tbody tr:hover td {
    color: #02569a !important; /* Slight blue tint on hover */
    font-weight: 600;
}

/* Improve Link Visibility */
.table-gradient a {
    font-weight: 600;
    text-decoration: none;
}

/* Keep Buttons White */
.table-gradient .button-add {
    color: white !important; /* Fix button text color */
    font-weight: 600;
}

/* Optional: Improve Button Hover */
.table-gradient .btn:hover {
    opacity: 0.9; /* Slight fade effect on hover */
}

.body-gradient-pegawai {
    background: linear-gradient(135deg, #068fd7, #025e96, #012a4a);
    position: relative;
    overflow-x: hidden; /* Prevents horizontal scrolling */
    min-height: 100vh; /* Ensures the full viewport is covered */
}

/* Fix scrolling issue */
.body-gradient-pegawai .d-flex.flex-column.flex-root {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    overflow-y: auto; /* Enables vertical scrolling */
    flex: 1; /* Ensures content expands properly */
    display: flex;
    flex-direction: column;
}

/* Wave Effect at the Top */
.body-gradient-pegawai::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 550px; /* Adjust height if needed */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23068fd7" fill-opacity="1" d="M0,64L48,58.7C96,53,192,43,288,69.3C384,96,480,160,576,165.3C672,171,768,117,864,90.7C960,64,1056,64,1152,64C1248,64,1344,64,1392,64L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}


/* 🚀 New Visually Engaging Gradient */
.external-links-card {
    background: linear-gradient(135deg, #F59E0B, #FBBF24, #FDE047);
    border-radius: 14px;
    box-shadow: 0 6px 12px rgba(122, 92, 0, 0.35);
    padding: 20px;
    width: 100%;
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: none !important; /* Removes any default border */
}


/* 🖱️ Hover Effect - Scale and Shadow */
.icon-card:hover .external-links-card {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(1, 42, 74, 0.5);
}

/* 🎨 Icon Styling */
.external-links-card i {
    font-size: 45px;
    transition: color 0.3s ease-in-out;
}

/* ✨ Hover Effect - Change Icon Color to Yellow */
.icon-card:hover .external-links-card i {
    color: #0077B6 !important; /* Gold/Yellow */
}

/* ✨ Keep Text in One Line + More Space */
.icon-text {
    margin-top: 10px;
    font-size: 14px; /* Reduced font size */
    text-overflow: ellipsis; /* Handles overflow nicely */
    overflow: hidden;
    max-width: 85%; /* More space on sides */
    text-align: center;
}

/* 🔥 Clickable Card */
.clickable-card {
    text-decoration: none;
}

/* 🚀 Visually Engaging Dark Red Gradient */
.promo-card {
    background: linear-gradient(135deg, #8B0000, #B22222, #DC143C);
    border-radius: 14px;
    box-shadow: 0 6px 12px rgba(178, 34, 34, 0.35);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding: 25px;
    cursor: pointer;
    border: none !important; /* Removes any border */
    position: relative; /* Enables absolute positioning for image */
    overflow: hidden; /* Ensures the illustration can extend beyond */
    min-height: 200px;
}

/* 🎨 Subtle Wavy Pattern */
.promo-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Height of wave effect */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23B22222" fill-opacity="0.5" d="M0,160L80,138.7C160,117,320,75,480,96C640,117,800,203,960,229.3C1120,256,1280,224,1360,208L1440,192L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.9; /* Slight transparency */
}

/* 🎇 Diagonal Light Streak */
.promo-card::after {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0.6; /* Soft glow */
    transform: rotate(-25deg);
}

/* 🖱️ Hover Effect */
.clickable-card:hover .promo-card {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(220, 20, 60, 0.5);
}

/* 🚀 Visually Engaging Dark Red Gradient */
.promo-card-red {
    background: linear-gradient(135deg, #C00000, #D32F2F, #E53935);
    border-radius: 14px;
    box-shadow: 0 6px 12px rgba(178, 34, 34, 0.35);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding: 25px;
    cursor: pointer;
    border: none !important; /* Removes any border */
    position: relative; /* Enables absolute positioning for image */
    overflow: hidden; /* Ensures the illustration can extend beyond */
    min-height: 200px;
}

/* 🎨 Subtle Wavy Pattern */
.promo-card-red::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Height of wave effect */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23B22222" fill-opacity="0.5" d="M0,160L80,138.7C160,117,320,75,480,96C640,117,800,203,960,229.3C1120,256,1280,224,1360,208L1440,192L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.9; /* Slight transparency */
}

/* 🎇 Diagonal Light Streak */
.promo-card-red::after {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0.6; /* Soft glow */
    transform: rotate(-25deg);
}

.clickable-card:hover .promo-card-red {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(220, 20, 60, 0.5);
}

/* 🎨 Enlarged Text */
.profile-title {
    font-size: 2rem; /* Bigger Title */
}

/* 📌 Adjusted Illustration (Overflowing at the Bottom) */
.illustration {
    position: absolute;
    bottom: -30px; /* Moves it lower for an overflow effect */
    right: -70px; /* Keeps it aligned to the right */
    max-width: 70%; /* Allows bigger images */
    height: auto; /* Ensures proportionate scaling */
    text-align: right;
    display: flex;
    align-items: flex-end;
}

/* 🔥 Make the Image Overflow the Bottom */
.promo-image {
    width: 300px !important; /* Increased size */
    max-height: 220px !important; /* Allows it to be larger */
    object-fit: contain; /* Ensures proper fit */
}

/* 🚀 Visually Engaging Dark Red Gradient */
.faq-card-blue {
    background: linear-gradient(135deg, #0077B6, #0096C7, #00B4D8, #48CAE4);
    border-radius: 14px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding: 25px;
    border: none !important; /* Removes any border */
    position: relative; /* Enables absolute positioning for image */
    overflow: hidden; /* Ensures the illustration can extend beyond */
    min-height: 202px;
    z-index: 1;
}

/* 🎨 Subtle Wavy Pattern */
.faq-card-blue::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Height of wave effect */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230077B6" fill-opacity="0.5" d="M0,160L80,138.7C160,117,320,75,480,96C640,117,800,203,960,229.3C1120,256,1280,224,1360,208L1440,192L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.9; /* Slight transparency */
}

/* 🎇 Diagonal Light Streak */
.faq-card-blue::after {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0.6; /* Soft glow */
    transform: rotate(-25deg);
}

.clickable-card:hover .faq-card-blue {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 118, 182, 0.5);
}

/* 🚀 Visually Engaging Dark Red Gradient */
.faq-card-green {
    background: linear-gradient(135deg, #007F5F, #2B9348, #55A630, #80B918);
    border-radius: 14px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding: 25px;
    border: none !important; /* Removes any border */
    position: relative; /* Enables absolute positioning for image */
    overflow: hidden; /* Ensures the illustration can extend beyond */
    min-height: 190px;
}

/* 🎨 Subtle Wavy Pattern */
.faq-card-green::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Height of wave effect */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%232B9348" fill-opacity="0.5" d="M0,160L80,138.7C160,117,320,75,480,96C640,117,800,203,960,229.3C1120,256,1280,224,1360,208L1440,192L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.9; /* Slight transparency */
}

/* 🎇 Diagonal Light Streak */
.faq-card-green::after {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0.6; /* Soft glow */
    transform: rotate(-25deg);
}

.clickable-card:hover .faq-card-green {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(43, 147, 72, 0.5);
}

/* 🎨 Enlarged Text */
.faq-title {
    font-size: 2rem; /* Bigger Title */

}

.faq-illustration {
    position: absolute;
    bottom: -70px; /* Moves it lower for an overflow effect */
    right: -70px; /* Keeps it aligned to the right */
    max-width: 70%; /* Allows bigger images */
    height: auto; /* Ensures proportionate scaling */
    text-align: right;
    display: flex;
    align-items: flex-end;
}


/* 🔥 Make the Image Overflow the Bottom */
.faq-image {
    width: 250px !important; /* Increased size */
    max-height: 250px !important; /* Allows it to be larger */
    object-fit: contain; /* Ensures proper fit */
}

/* Base card styling */
.stat-card {
    border-radius: 12px; /* Smooth rounded corners */
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Soft shadow */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    color: white; /* Ensures text visibility */
}

/* Unique gradients for each card */
.card-gradient-1 { background: linear-gradient(135deg, #0077B6, #0096C7); }
.card-gradient-2 { background: linear-gradient(135deg, #00B4D8, #48CAE4); }
.card-gradient-3 { background: linear-gradient(135deg, #A8E6CF, #56C596); }
.card-gradient-4 { background: linear-gradient(135deg, #FF9A8B, #FF6A88); }
.card-gradient-5 { background: linear-gradient(135deg, #FFB347, #FFCC33); }
.card-gradient-6 { background: linear-gradient(135deg, #8A2BE2, #A74AC7); }
.card-gradient-7 { background: linear-gradient(135deg, #FF5733, #FF8C42); }
.card-gradient-8 { background: linear-gradient(135deg, #5E35B1, #7E57C2); }

/* Hover Effect */
.stat-card:hover {
    transform: translateY(-3px); /* Slight lift */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
}

/* Number Styling */
.stat-number {
    display: block;
    font-size: 28px;
    font-weight: bold;
}

/* Description Styling */
.stat-desc {
    font-size: 14px;
    font-weight: 600;
}

/* Icon Container - Removes Background and Integrates into Panel */
.blended-icon .symbol-label {
    background: transparent !important; /* Removes default bg */
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon Styling - Softened and Integrated */
.blended-icon i {
    font-size: 28px; /* Adjust as needed */
    color: rgba(255, 255, 255, 0.85); /* Soft white with transparency */
    text-shadow: 0 2px 6px rgba(255, 255, 255, 0.2); /* Subtle glow */
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Hover Effect - Slight Color Change & Scale */
.stat-card:hover .blended-icon i {
    color: rgba(255, 255, 255, 1); /* Full brightness */
    transform: scale(1.1); /* Slight zoom */
}

/*custom css select2*/
.select2-container .select2-selection--single {
    height: 44px !important;
    padding: 0.65rem 1rem !important;
    border-radius: 0.475rem !important;
    display: flex;
    align-items: center;
}

.select2-selection__rendered {
    line-height: normal !important;
    padding-left: 0 !important;
}

.select2-selection__arrow {
    height: 100% !important;
    right: 10px !important;
}

.select2-container--default .select2-selection--single {
    background-color: #F5F8FA !important;
}

.select2-container {
    width: 100% !important;
}