:root {
    /* Light Theme */
    --primary-light: #000080; /* Biru ungu */
    --secondary-light: #ff6600; /* Orange */
    --dark-blue-light: #000080;
    --light-blue-light: #F8F7FF;
    --text-light: #2D2D2D;
    --text-secondary-light: #6C6C6C;
    --bg-light: #FFFFFF;
    --card-light: #FFFFFF;
    --border-light: #E0E0E0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    
    /* Dark Theme */
    --primary-dark: #46469f; /* Biru ungu lebih terang */
    --secondary-dark: #ff6600; /* Orange lebih soft */
    --dark-blue-dark: #4A3FDB;
    --light-blue-dark: #1E1B4B;
    --text-dark: #F5F5F5;
    --text-secondary-dark: #cbcbd8;
    --text-success:#33ad33;
    --text-danger:#d31313;
    --bg-dark: #121212;
    --card-dark: #1E1E1E;
    --border-dark: #333333;
    --shadow-dark: rgba(0, 0, 0, 0.3);
    
    /* Default to light theme */
    --primary: var(--primary-light);
    --secondary: var(--secondary-light);
    --success:#0e820e;
    --danger:#d31313;
    --warning:#caab22;
    --gray:#bababa;
    --death:#4c4c4c;
    --dark-blue: var(--dark-blue-light);
    --light-blue: var(--light-blue-light);
    --text: var(--text-light);
    --text-secondary: var(--text-secondary-light);
    --bg: var(--bg-light);
    --card: var(--card-light);
    --border: var(--border-light);
    --shadow: var(--shadow-light);

    --badge-danger: #fff0f0;
    --badge-success:#d0ffe0;
    --badge-info:#d4ebff;
    --badge-primary:#d9ddff;
    --badge-warning:#fff6de;
    
    --bg-point:#efefef;
    --border-point:#dbdbdb;

    --font-primary: 'Figtree', sans-serif;
    --font-size:14px;
}

[data-theme="dark"] {
    --primary: var(--primary-dark);
    --secondary: var(--secondary-dark);
    --dark-blue: var(--dark-blue-dark);
    --light-blue: var(--light-blue-dark);
    --text: var(--text-dark);
    --text-secondary: var(--text-secondary-dark);
    --bg: var(--bg-dark);
    --card: var(--card-dark);
    --border: var(--border-dark);
    --shadow: var(--shadow-dark);

    --bg-point: var(--bg-dark);
    --border-point: var(--border);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.2s ease, border-color 0.3s ease;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a{
    color: var(--primary);
}
input{
    outline: none;
}
span.required,i.required {
    color: #e53935;
}
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 1000;
}
.skip-link:focus {
    top: 0;
}
.line-margin{
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    border: 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}
.overflow-field{
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 5px;
    max-height: 200px;
    overflow: auto;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--card);
    box-shadow: 0 1px 3px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.logo-text span {
    color: var(--primary);
}

.content {
    padding: 40px;
}

/* Navigation */
.nav-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.nav-links a:hover, .nav-links a:focus {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-links a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.link-unset{
    color: var(--primary);
    text-decoration: none;
}
.link-unset:hover{
    color: var(--secondary);
}

.error-container{
    display: flex;
    min-height: calc(100vh - 70px);
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.error-image{
    text-align: center;
}
.error-description{
    margin-top:10px;
    margin-bottom:40px;
}
.error-body .error-title{
    font-weight:bold;
    font-size: 34px;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.theme-toggle:hover, .theme-toggle:focus {
    background-color: var(--light-blue);
    color: var(--primary);
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 12px;
}

.auth-btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
}

.login-btn {
    color: var(--primary);
    border: 1px solid var(--primary);
}

.login-btn:hover, .login-btn:focus {
    background-color: rgba(94, 86, 255, 0.1);
}

.register-btn {
    background-color: var(--primary);
    color: white;
}

.register-btn:hover, .register-btn:focus {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark-blue) 100%);
    padding: 80px 0;
    position: relative;
}
.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}
.hero-text {
    flex: 1;
}
.hero-image {
    flex: 1;
    position: relative;
}
.hero-image-placeholder {
    background-color: rgba(255,255,255,0.1);
    border-radius: 8px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    border: 2px dashed rgba(255,255,255,0.2);
}
.hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}
.hero h1 span {
    color: var(--secondary);
}
.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 500px;
}
.hero-buttons {
    display: flex;
    gap: 15px;
}

.full{
    width: 100%;
}

.primary-btn, .btn-primary{
    background-color: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    border: 1px var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    cursor: pointer;
}
.primary-btn:hover, .btn-primary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    color: white !important;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    cursor: pointer;
}
.secondary-btn:hover, .secondary-btn:focus {
    background-color: #d2d2ff;
    border-color: white;
}
.secondary-btn.btn-bg-light{
    color: var(--text) !important;
}

.btn{
    padding: 12px 24px;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    border-radius: 6px;
}

.primary-btn, .btn-primary{
    background-color: var(--primary);
    color: white;
    border: 1px var(--primary);
}
.primary-btn:hover, .btn-primary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}
.btn-success {
    background-color: var(--success);
    color: #ffffff;
    border:1px solid var(--success);
}
.btn-success:hover, .btn-success:focus {
    background-color: var(--success);
    color: white;
}

.btn-danger {
    background-color: var(--danger);
    color: #ffffff;
    border:1px solid var(--danger);
}
.btn-danger:hover, .btn-danger:focus {
    background-color: var(--danger);
    color: white;
}

.btn-warning {
    background-color: var(--warning);
    color: #ffffff;
    border:1px solid var(--warning);
}
.btn-warning:hover, .btn-warning:focus {
    background-color: var(--warning);
    color: white;
}


.btn-outline-primary {
    background-color: transparent;
    color: var(--primary);
    border:2px solid var(--primary);
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary);
    color: white;
}

.btn-outline-secondary {
    background-color: transparent;
    color: var(--secondary);
    border:2px solid var(--secondary);
}
.btn-outline-secondary:hover, .btn-outline-secondary:focus {
    background-color: var(--secondary);
    color: white;
}

.btn-outline-success {
    background-color: transparent;
    color: var(--success);
    border:2px solid var(--success);
}
.btn-outline-success:hover, .btn-outline-success:focus {
    background-color: var(--success);
    color: white;
}

.btn-outline-default {
    background-color: transparent;
    color: var(--gray);
    border:2px solid var(--gray);
}
.btn-outline-default:hover, .btn-outline-default:focus {
    background-color: var(--gray);
    color: white;
}
.btn-outline-death {
    background-color: transparent;
    color: var(--death);
    border:2px solid var(--death);
}
.btn-outline-death:hover, .btn-outline-death:focus {
    background-color: var(--death);
    color: white;
}

.btn-sm{
    padding: 8px 15px;
    font-size: 13px;
}

.box{
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px var(--shadow);
}
.box-header{
    border: 1px solid var(--border);
    background-color: #e0e0e0;
    padding: 10px 15px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.box-header .box-title{
    font-weight: bold;
    font-size: 16px;
    color: var(--text);
}
.box-body{
    padding: 15px;
    border: 1px solid var(--border);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.date{
    font-family: monospace;
}
.float-right{
    float: right;
}


/* User Menu */
.user-menu {
    position: relative;
}
.user-avatar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    transition: background-color 0.2s;
}
.user-avatar:hover {
    background-color: var(--light-blue);
}
.user-avatar img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}
.user-avatar span {
    font-size: 14px;
    font-weight: 500;
}
.user-avatar i {
    font-size: 12px;
    transition: transform 0.2s;
}
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--card);
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    min-width: 200px;
    padding: 10px 0;
    margin-top: 10px;
    display: none;
    z-index: 100;
    border: 1px solid var(--border);
}
.user-dropdown.show {
    display: block;
    animation: fadeIn 0.2s;
}
.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}
.user-dropdown a:hover {
    background-color: var(--light-blue);
    color: var(--primary);
}
.user-dropdown a i {
    width: 20px;
    text-align: center;
}

@media (max-width: 480px) {
    .user-menu .user-avatar span{
        display: none;
    }
}


/* Search Section */
.search-section {
    background-color: var(--card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
    margin-top: -40px;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.section-header h2 {
    font-size: 24px;
    color: var(--text);
}
.section-actions {
    display: flex;
    gap: 15px;
}
.search-container {
    display: flex;
    background: var(--card);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.search-field {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 15px;
    background-color: var(--card);
    color: var(--text);
    border-right: 1px solid var(--border);
}
.search-field::placeholder {
    color: var(--text-secondary);
}

.search-btn {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.search-btn:hover, .search-btn:focus {
    background-color: #E67347;
}

/* Sections */
.section {
    padding: 80px 0;
}
.section-title {
    margin-bottom: 40px;
    text-align: center;
}
.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.section-title p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}
.category-card {
    background: var(--card);
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
}
.category-card:hover, .category-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
    border-color: var(--primary);
}
.category-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary);
    font-size: 20px;
}
.category-card h3 {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 16px;
}
.category-card p {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

/* Jobs Section */
.jobs-container {
    background-color: var(--light-blue);
    padding: 60px 0;
}
.job-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}
.job-list .error-message, .job-list .no-results{
    grid-column: span 3;
    padding-left: 20px;
    padding-right: 20px;
    color: gray;
}
.job-card {
    background: var(--card);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
}
.job-card:hover, .job-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
    border-color: var(--primary);
}
.job-card.featured {
    border-left: 4px solid var(--secondary);
}
.job-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}
.company-logo {
    width: 50px;
    height: 50px;
    background-color: var(--light-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.job-info {
    flex: 1;
}
.job-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text);
}
.job-info .company {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 5px;
}
.job-info .location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 13px;
}
.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tag {
    background-color: var(--light-blue);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}
.tag.orange {
    background-color: rgba(255, 122, 69, 0.1);
    color: var(--secondary);
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.salary {
    font-weight: 600;
    color: var(--secondary);
    font-size: 15px;
}

.apply-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.2s;
    text-decoration: none;
    display: inline-block;
}
.apply-btn:hover, .apply-btn:focus {
    background-color: var(--dark-blue);
}

.share-btn {
    background: none;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    font-size: 14px;
    align-items: center;
    transition: background-color 0.2s;
    text-decoration: none;
    display: inline-block;
}
.share-btn:hover, .apply-btn:focus {
    background-color: rgba(94, 86, 255, 0.1);
}

/* Testimonials */
.testimonials {
    background-color: var(--primary);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z"></path></svg>');
    opacity: 0.1;
    background-size: cover;
}

.testimonials .section-title h2,
.testimonials .section-title p {
    color: white;
}

.testimonials .section-title p {
    opacity: 0.8;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: bold;
    font-size: 20px;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 3px;
}

.author-info p {
    opacity: 0.8;
    font-size: 14px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text);
}

.cta p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 18px;
}

/* Footer */
footer {
    background-color: var(--card);
    color: var(--text);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo-icon {
    background-color: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.footer-about p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a:hover, .footer-links ul li a:focus {
    color: var(--primary);
}

.footer-links ul li a i {
    width: 20px;
    text-align: center;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid var(--border);
    margin-bottom: 10px;
    font-size: 14px;
    background-color: var(--bg);
    color: var(--text);
}

.footer-newsletter button {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.2s;
}

.footer-newsletter button:hover, .footer-newsletter button:focus {
    background-color: #E67347;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text);
    background-color: rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.social-links a:hover, .social-links a:focus {
    background-color: var(--primary);
    color: white;
}

[data-theme="dark"] .social-links a {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hidden-md{
    display:none;
}


/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }
    .hero-text {
        text-align: center;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image {
        display: flex;
        justify-content: center;
        width: 100%;
    }    
    .hero-image-placeholder {
        max-width: 500px;
        width: 100%;
    }

    .hidden-md{
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--card);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px var(--shadow);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 99;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links a {
        padding: 0;
    }
    
    .nav-links a.active:after {
        bottom: -5px;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .search-field {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    
    .search-btn {
        padding: 15px;
        justify-content: center;
    }
    
    .job-list {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .hidden-md{
        display:block;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hidden-md{
        display:block;
    }
}

/*Skill*/
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.skill-tag {
    background-color: var(--light-blue);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}


.loading-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination button {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background-color: var(--bg);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination button.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination button:hover:not(.active) {
    background-color: var(--light-blue);
}

.contact-me{
    color: var(--text-secondary);
    font-size: 14px;
}

h4 {
    font-size: 1.2rem;
    font-weight: 500;
}

h1 .badge-title, h2 .badge-title, h3 .badge-title, h4 .badge-title, h5 .badge-title, h6 .badge-title {
    font-size: 13px;
    font-weight: normal;
    display: inline-block;
    padding: 3px 5px 3px 5px;
    border-radius: 8px;
    color: #505050;
    border: 1px solid #6c6c6c;
}
span.badge-title{
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 8px;
    color: #505050;
    border: 1px solid #6c6c6c;
}
.badge-title.badge-title-warning{
    border: 1px solid var(--badge-warning);
    color: #e5a810;
    background: var(--badge-warning);
}
.badge-title.badge-title-danger{
    border: 1px solid var(--badge-danger);
    color: #b91e1e;
    background: var(--badge-danger);
}
.badge-title.badge-title-success{
    border: 1px solid var(--badge-success);
    color: #1fab1c;
    background: var(--badge-success);
}
.badge-title.badge-title-primary{
    border: 1px solid var(--badge-primary);
    color: #2b66e6;
    background: var(--badge-primary);
}
.badge-title.badge-title-info{
    border: 1px solid var(--badge-info);
    color: #21a0f4;
    background: var(--badge-info);
}

.badge-notification{
    position: absolute;
    right: 30px;
    height: 18px;
    background-color: var(--danger);
    color: white;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(255, 254, 254, 0.2);
    padding: 0 8px 0 8px;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    background-color: rgba(70, 106, 255, 0.1);
    color: var(--primary);
}
.status-badge.primary {
    background-color: rgba(70, 106, 255, 0.1) !important;
    color: var(--primary) !important;
}
.status-badge.warning {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #FFC107 !important;
}
.status-badge.success {
    background-color: rgba(76, 175, 80, 0.1) !important;
    color: #4CAF50 !important;
}
.status-badge.danger {
    background-color: rgba(255, 35, 35, 0.1);
    color: #e60000;
}
.status-badge.info {
    background-color: rgba(0, 220,255,0.15);
    color: #0091b1;
}
.status-badge.blue {
    background-color: rgba(33, 150, 243, 0.1) !important;
    color: #2196F3 !important;
}
.status-badge.purple {
    background-color: rgba(156, 39, 176, 0.1) !important;
    color: #9C27B0 !important;
}
.status-badge.purple {
    background-color: rgba(156, 39, 176, 0.1) !important;
    color: #9C27B0 !important;
}

.inline{
    display: inline;
}

.text-primary{
    color: var(--primary) !important;
}
.text-secondary{
    color: var(--secondary) !important;
}
.text-success{
    color: var(--text-success) !important;
}
.text-danger{
    color: var(--text-danger) !important;
}
.text-red{
    color: var(--text-danger) !important;
}

.text-muted{
    color: #6c6c6c;
    font-size: 14px;
    font-weight: 500;
}
.text-sm{
    font-size: 12px !important;
}
.form-control.text-sm{
    padding: 10px 13px !important;
}

.text-link{
    text-decoration: none;
}
.text-link:hover{
    color: var(--primary) !important;
}

.bg-light{
    background-color: var(--bg-light) !important;
    background: var(--bg-light) !important;
}
.bg-secondary{
    background-color: var(--secondary) !important;
}


.pull-left{
    float: left;
}
.pull-right{
    float: right;
}

/* Error Summary Styles */
.errorSummary {
    background-color: var(--badge-danger);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
    color: #721c24;
    font-size: var(--font-size);
}
.errorSummary p {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.errorSummary p:before {
    content: "⚠️";
}
.errorSummary ul {
    margin: 0;
    padding-left: 24px;
}
.errorSummary li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 8px;
}
.errorSummary li:before {
    color: #dc3545;
    font-weight: bold;
    position: absolute;
    left: -15px;
}
/* Dark Theme Adjustments */
[data-theme="dark"] .errorSummary {
    background-color: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.4);
    color: #f8d7da;
}
[data-theme="dark"] .errorSummary li:before {
    color: #f8d7da;
}

input.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2) !important;
}
.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.error-message-text-sm{
    color: #F44336;
    font-size: 13px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

[data-theme="dark"] .error-message {
    color: #f8a5a5;
}
/* Animasi */
.errorSummary {
    animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}
.modal.show {
    display: flex;
    opacity: 1;
}
.modal-content {
    background-color: var(--card);
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px var(--shadow);
    animation: modalFadeIn 0.3s;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
}
.modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--text);
}
.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}
.modal-close:hover {
    color: var(--primary);
}
.modal-body {
    padding: 20px;
}
/* Modal backdrop */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn 0.3s;
}    
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}
/* Modal Loading overlay */
.modal-loading-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 10;
    border-radius: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.modal-loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4285f4;
    border-radius: 50%;
    animation: modalSpin 1s linear infinite;
    margin-bottom: 15px;
}
.modal-loading-text {
    color: #555;
    font-weight: 500;
}
/* END Modal */

/* Alert Styles */
.alert{
    padding: 16px 20px;
    margin: 16px 0;
    border-radius: 8px;
    border-left: 4px solid;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
}
.alert-icon {
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}
.alert-content {
    flex: 1;
}
.alert-title {
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}
.alert-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    margin-top: 2px;
    flex-shrink: 0;
}
.alert-close:hover {
    opacity: 1;
}

/* Alert Types */
.alert-danger {
    background-color: var(--badge-danger);
    border-color: #dc3545;
    color: #721c24;
}
.alert-danger .alert-icon {
    color: #dc3545;
}
.alert-success {
    background-color: var(--badge-success);
    border-color: #28a745;
    color: #155724;
}
.alert-success .alert-icon {
    color: #28a745;
}
.alert-warning {
    background-color: var(--badge-warning);
    border-color: #ffc107;
    color: #856404;
}
.alert-warning .alert-icon {
    color: #ffc107;
}
.alert-info {
    background-color: var(--badge-info);
    border-color: #17a2b8;
    color: #0c5460;
}
.alert-info .alert-icon {
    color: #17a2b8;
}
.alert-notif {
    background-color: var(--badge-primary);
    border-color: var(--primary);
    color: var(--primary);
}
.alert-notif .alert-icon {
    color: var(--primary);
}

/* Dark Theme Adjustments */
[data-theme="dark"] .alert-danger {
    background-color: rgba(220, 53, 69, 0.15);
    color: #f8d7da;
}
[data-theme="dark"] .alert-success {
    background-color: rgba(40, 167, 69, 0.15);
    color: #d4edda;
}
[data-theme="dark"] .alert-warning {
    background-color: rgba(255, 193, 7, 0.15);
    color: #fff3cd;
}
[data-theme="dark"] .alert-info {
    background-color: rgba(23, 162, 184, 0.15);
    color: #d1ecf1;
}
[data-theme="dark"] .alert-notif {
    background-color: rgba(94, 86, 255, 0.15);
    color: #d9ddff;
}

/* Alert Variations */
.alert-outline {
    background-color: transparent;
    border: 1px solid;
}
.alert-outline.alert-danger {
    border-color: #dc3545;
    color: #dc3545;
}
.alert-outline.alert-success {
    border-color: #28a745;
    color: #28a745;
}
.alert-outline.alert-warning {
    border-color: #ffc107;
    color: #ffc107;
}
.alert-outline.alert-info {
    border-color: #17a2b8;
    color: #17a2b8;
}
.alert-outline.alert-notif {
    border-color: var(--primary);
    color: var(--primary);
}
.alert-solid {
    color: white;
    border: none;
}
.alert-solid.alert-danger {
    background-color: #dc3545;
}
.alert-solid.alert-success {
    background-color: #28a745;
}

.alert-solid.alert-warning {
    background-color: #ffc107;
}
.alert-solid.alert-info {
    background-color: #17a2b8;
}
.alert-solid.alert-notif {
    background-color: var(--primary);
}

/* Alert Sizes */
.alert-sm {
    padding: 12px 16px;
    font-size: 14px;
}
.alert-sm .alert-icon {
    font-size: 16px;
}
.alert-lg {
    padding: 20px 24px;
    font-size: 16px;
}
.alert-lg .alert-icon {
    font-size: 20px;
}

/* Alert with action buttons */
.alert-with-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.alert-action {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}
.alert-action-btn {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.alert-danger .alert-action-btn {
    background-color: #dc3545;
    color: white;
}
.alert-success .alert-action-btn {
    background-color: #28a745;
    color: white;
}
.alert-warning .alert-action-btn {
    background-color: #ffc107;
    color: #212529;
}
.alert-info .alert-action-btn {
    background-color: #17a2b8;
    color: white;
}
.alert-notif .alert-action-btn {
    background-color: var(--primary);
    color: white;
}


.action-buttons {
    display: flex;
    gap: 8px;
}
.text-center .action-buttons {
    align-items: center;
    justify-content: center;
}
.action-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-blue);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}
.action-icon:hover {
    background-color: var(--primary);
    color: white;
}
.action-dropdown {
    position: relative;
}
.action-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card);
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    padding: 10px 0;
    min-width: 180px;
    z-index: 10;
    display: none;
    border: 1px solid var(--border);
}
.action-dropdown .dropdown-menu.show {
    display: block;
}
.dropdown-menu a {
    display: block;
    padding: 8px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}
.dropdown-menu a:hover{
    background: #f4eefd;
}
.dropdown-menu.show, .dropdown-menu a:focus{
    background-color: var(--light-blue);
    color: var(--primary);
}
.dropdown-menu a.active {
    color: var(--primary);
    font-weight: 500;
}

.w-100{
    width:100%;
}
.w-icon{
    width: 16px;
}

.point {
    background: var(--bg-point);
    padding: 3px 10px 3px 10px;
    border-radius: 5px;
    border: 1px solid var(--border-point);
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 13px;
    margin-left: 5px;
}
.point .point-icon {
    float: right;
    margin-left: 10px;
    margin-right: -5px;
    font-size: 14px;
}
.point .point-icon .point-icon-btn {
    background: transparent;
    padding-left: 3px;
    padding-right: 3px;
    transition: 0.3s;
    cursor: pointer;
}

/*Autocomplete*/
.autocomplete-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s;
}
.autocomplete-input:focus {
    outline: none;
    border-color: #3498db;
}
.autocomplete-results {
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}
.autocomplete-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    transition: background-color 0.2s;
}
.autocomplete-item:last-child {
    border-bottom: none;
}
.autocomplete-item:hover {
    background-color: #f8f9fa;
}
.autocomplete-item.active {
    background-color: #e3f2fd;
}
.selected-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    border-left: 4px solid #3498db;
}
.autocomplete-loading {
    padding: 20px;
    text-align: center;
    color: #7f8c8d;
}
.autocomplete-no-results {
    padding: 20px;
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
}

/* Custom Swith */
.custom-switch {
    padding-left: 2.25rem;
}
.custom-switch .custom-control-label::before {
    left: -2.25rem;
    width: 1.75rem;
    pointer-events: all;
    border-radius: 0.5rem;
}
.custom-switch .custom-control-label::after {
    top: calc(0.25rem + 2px);
    left: calc(-2.25rem + 2px);
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    background-color: #adb5bd;
    border-radius: 0.5rem;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
    .custom-switch .custom-control-label::after {
        transition: none;
    }
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #fff;
    -webkit-transform: translateX(0.75rem);
    transform: translateX(0.75rem);
}
.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}

/* Custom Checkbox */
.custom-control {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}
.custom-control-inline {
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-right: 1rem;
}
.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.25rem;
    opacity: 0;
}
.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #007bff;
    background-color: #007bff;
}
.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #80bdff;
}
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    color: #fff;
    background-color: #b3d7ff;
    border-color: #b3d7ff;
}
.custom-control-input[disabled] ~ .custom-control-label, .custom-control-input:disabled ~ .custom-control-label {
    color: #6c757d;
}
.custom-control-input[disabled] ~ .custom-control-label::before, .custom-control-input:disabled ~ .custom-control-label::before {
    background-color: #e9ecef;
}
.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}
.custom-control-label::before {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #adb5bd solid 1px;
}
.custom-control-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50% / 50% 50%;
}
.custom-checkbox .custom-control-label::before {
    border-radius: 0.25rem;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    border-color: #007bff;
    background-color: #007bff;
}
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e");
}
.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}
.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}
.custom-radio .custom-control-label::before {
    border-radius: 50%;
}
.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}
.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}
.custom-switch {
    padding-left: 2.25rem;
}
.custom-switch .custom-control-label::before {
    left: -2.25rem;
    width: 1.75rem;
    pointer-events: all;
    border-radius: 0.5rem;
}
.custom-switch .custom-control-label::after {
    top: calc(0.25rem + 2px);
    left: calc(-2.25rem + 2px);
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    background-color: #adb5bd;
    border-radius: 0.5rem;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
    .custom-switch .custom-control-label::after {
        transition: none;
    }
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #fff;
    -webkit-transform: translateX(0.75rem);
    transform: translateX(0.75rem);
}
.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}


/* Clearfix untuk container */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}
.row::after {
    content: "";
    display: table;
    clear: both;
}
.clearfix{
    content: "";
    display: table;
    clear: both;
}
/* Grid system untuk col-md- */
[class*="col-md-"] {
    float: left;
    box-sizing: border-box;
    padding: 0 15px; /* gutter/spacing */
}

/* Kolom untuk breakpoint medium (biasanya ≥768px) */
@media (min-width: 768px) {
  .col-md-1 { width: 8.33333333%; }
  .col-md-2 { width: 16.66666667%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.33333333%; }
  .col-md-5 { width: 41.66666667%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.33333333%; }
  .col-md-8 { width: 66.66666667%; }
  .col-md-9 { width: 75%; }
  .col-md-10 { width: 83.33333333%; }
  .col-md-11 { width: 91.66666667%; }
  .col-md-12 { width: 100%; }
  
  /* Offset classes opsional */
  .col-md-offset-1 { margin-left: 8.33333333%; }
  .col-md-offset-2 { margin-left: 16.66666667%; }
  .col-md-offset-3 { margin-left: 25%; }
  .col-md-offset-4 { margin-left: 33.33333333%; }
  .col-md-offset-5 { margin-left: 41.66666667%; }
  .col-md-offset-6 { margin-left: 50%; }
  .col-md-offset-7 { margin-left: 58.33333333%; }
  .col-md-offset-8 { margin-left: 66.66666667%; }
  .col-md-offset-9 { margin-left: 75%; }
  .col-md-offset-10 { margin-left: 83.33333333%; }
  .col-md-offset-11 { margin-left: 91.66666667%; }
  .col-md-offset-12 { margin-left: 100%; }
}

/* Utility classes opsional */
.col-md-hidden { display: none; }
.col-md-visible { display: block; }

/* Push dan pull untuk reordering */
.col-md-push-1 { left: 8.33333333%; }
.col-md-push-2 { left: 16.66666667%; }
.col-md-push-3 { left: 25%; }
.col-md-push-4 { left: 33.33333333%; }
.col-md-push-5 { left: 41.66666667%; }
.col-md-push-6 { left: 50%; }
.col-md-push-7 { left: 58.33333333%; }
.col-md-push-8 { left: 66.66666667%; }
.col-md-push-9 { left: 75%; }
.col-md-push-10 { left: 83.33333333%; }
.col-md-push-11 { left: 91.66666667%; }
.col-md-push-12 { left: 100%; }

.col-md-pull-1 { right: 8.33333333%; }
.col-md-pull-2 { right: 16.66666667%; }
.col-md-pull-3 { right: 25%; }
.col-md-pull-4 { right: 33.33333333%; }
.col-md-pull-5 { right: 41.66666667%; }
.col-md-pull-6 { right: 50%; }
.col-md-pull-7 { right: 58.33333333%; }
.col-md-pull-8 { right: 66.66666667%; }
.col-md-pull-9 { right: 75%; }
.col-md-pull-10 { right: 83.33333333%; }
.col-md-pull-11 { right: 91.66666667%; }
.col-md-pull-12 { right: 100%; }


/* Style dasar untuk collapse */
.collapse {
    display: none;
}
.collapse.show {
    display: block;
}

/* Transition untuk animasi */
.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

/* Style untuk toggle button (opsional) */
.toggle-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}
.toggle-btn:hover {
    background-color: #0056b3;
}
.toggle-btn:after {
    content: '▼';
    margin-left: 5px;
    font-size: 12px;
}
.toggle-btn.collapsed:after {
    content: '▲';
}

/* Container untuk konten collapse */
.collapse-content {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f8f9fa;
}


/* ===== MARGIN ALL SIDES ===== */
.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }
.m-auto { margin: auto !important; }

/* ===== MARGIN TOP ===== */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mt-auto { margin-top: auto !important; }

/* ===== MARGIN BOTTOM ===== */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mb-auto { margin-bottom: auto !important; }

/* ===== MARGIN LEFT ===== */
.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: 0.25rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.ml-4 { margin-left: 1.5rem !important; }
.ml-5 { margin-left: 3rem !important; }
.ml-auto { margin-left: auto !important; }

/* ===== MARGIN RIGHT ===== */
.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: 0.25rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.mr-4 { margin-right: 1.5rem !important; }
.mr-5 { margin-right: 3rem !important; }
.mr-auto { margin-right: auto !important; }

/* ===== MARGIN X AXIS (LEFT & RIGHT) ===== */
.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: 0.25rem !important; margin-right: 0.25rem !important; }
.mx-2 { margin-left: 0.5rem !important; margin-right: 0.5rem !important; }
.mx-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-5 { margin-left: 3rem !important; margin-right: 3rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* ===== MARGIN Y AXIS (TOP & BOTTOM) ===== */
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }

/* ===== PADDING ALL SIDES ===== */
.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

/* ===== PADDING TOP ===== */
.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

/* ===== PADDING BOTTOM ===== */
.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

/* ===== PADDING LEFT ===== */
.pl-0 { padding-left: 0 !important; }
.pl-1 { padding-left: 0.25rem !important; }
.pl-2 { padding-left: 0.5rem !important; }
.pl-3 { padding-left: 1rem !important; }
.pl-4 { padding-left: 1.5rem !important; }
.pl-5 { padding-left: 3rem !important; }

/* ===== PADDING RIGHT ===== */
.pr-0 { padding-right: 0 !important; }
.pr-1 { padding-right: 0.25rem !important; }
.pr-2 { padding-right: 0.5rem !important; }
.pr-3 { padding-right: 1rem !important; }
.pr-4 { padding-right: 1.5rem !important; }
.pr-5 { padding-right: 3rem !important; }

/* ===== PADDING X AXIS (LEFT & RIGHT) ===== */
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

/* ===== PADDING Y AXIS (TOP & BOTTOM) ===== */
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

/* ===== RESPONSIVE MARGIN ===== */
/* Small devices (≥576px) */
@media (min-width: 576px) {
    .m-sm-0 { margin: 0 !important; }
    .m-sm-1 { margin: 0.25rem !important; }
    .m-sm-2 { margin: 0.5rem !important; }
    .m-sm-3 { margin: 1rem !important; }
    .m-sm-4 { margin: 1.5rem !important; }
    .m-sm-5 { margin: 3rem !important; }
    
    .mt-sm-0 { margin-top: 0 !important; }
    .mt-sm-1 { margin-top: 0.25rem !important; }
    .mt-sm-2 { margin-top: 0.5rem !important; }
    .mt-sm-3 { margin-top: 1rem !important; }
    .mt-sm-4 { margin-top: 1.5rem !important; }
    .mt-sm-5 { margin-top: 3rem !important; }
    
    /* Tambahkan kelas responsive lainnya sesuai kebutuhan */
}

/* Medium devices (≥768px) */
@media (min-width: 768px) {
    .m-md-0 { margin: 0 !important; }
    .m-md-1 { margin: 0.25rem !important; }
    .m-md-2 { margin: 0.5rem !important; }
    .m-md-3 { margin: 1rem !important; }
    .m-md-4 { margin: 1.5rem !important; }
    .m-md-5 { margin: 3rem !important; }
    
    .mt-md-0 { margin-top: 0 !important; }
    .mt-md-1 { margin-top: 0.25rem !important; }
    .mt-md-2 { margin-top: 0.5rem !important; }
    .mt-md-3 { margin-top: 1rem !important; }
    .mt-md-4 { margin-top: 1.5rem !important; }
    .mt-md-5 { margin-top: 3rem !important; }
}

/* Large devices (≥992px) */
@media (min-width: 992px) {
    .m-lg-0 { margin: 0 !important; }
    .m-lg-1 { margin: 0.25rem !important; }
    .m-lg-2 { margin: 0.5rem !important; }
    .m-lg-3 { margin: 1rem !important; }
    .m-lg-4 { margin: 1.5rem !important; }
    .m-lg-5 { margin: 3rem !important; }
}

/* Extra large devices (≥1200px) */
@media (min-width: 1200px) {
    .m-xl-0 { margin: 0 !important; }
    .m-xl-1 { margin: 0.25rem !important; }
    .m-xl-2 { margin: 0.5rem !important; }
    .m-xl-3 { margin: 1rem !important; }
    .m-xl-4 { margin: 1.5rem !important; }
    .m-xl-5 { margin: 3rem !important; }
}

/* ===== RESPONSIVE PADDING ===== */
@media (min-width: 576px) {
    .p-sm-0 { padding: 0 !important; }
    .p-sm-1 { padding: 0.25rem !important; }
    .p-sm-2 { padding: 0.5rem !important; }
    .p-sm-3 { padding: 1rem !important; }
    .p-sm-4 { padding: 1.5rem !important; }
    .p-sm-5 { padding: 3rem !important; }
    
    .pt-sm-0 { padding-top: 0 !important; }
    .pt-sm-1 { padding-top: 0.25rem !important; }
    .pt-sm-2 { padding-top: 0.5rem !important; }
    .pt-sm-3 { padding-top: 1rem !important; }
    .pt-sm-4 { padding-top: 1.5rem !important; }
    .pt-sm-5 { padding-top: 3rem !important; }
}

/* Tambahkan breakpoint lainnya untuk padding sesuai kebutuhan */

/* ===== NEGATIVE MARGIN (opsional) ===== */
.m-n1 { margin: -0.25rem !important; }
.mt-n1 { margin-top: -0.25rem !important; }
.mb-n1 { margin-bottom: -0.25rem !important; }
.ml-n1 { margin-left: -0.25rem !important; }
.mr-n1 { margin-right: -0.25rem !important; }

/* ===== GAP UTILITIES (opsional) ===== */
.gap-0 { gap: 0 !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--text);
    border-collapse: collapse;
    background-color: transparent;
}
.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid var(--border);
    text-align: left;
}
.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid var(--border);
    background-color: var(--bg);
    font-weight: 600;
    color: var(--text);
}
.table tbody + tbody {
    border-top: 2px solid var(--border);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}
.table-striped tbody tr:nth-of-type(even) {
    background-color: transparent;
}
/* Hover effect untuk striped table */
.table-striped tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

.table-sm {
    font-size: 0.875rem;
}
.table-sm th,
.table-sm td {
    padding: 0.3rem;
}
.table-sm thead th {
    padding: 0.3rem;
}
.table-bordered {
    border: 1px solid #dee2e6;
}
.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}
.table-bordered thead th,
.table-bordered thead td {
    border-bottom-width: 2px;
}

/* Table striped + bordered */
.table-striped.table-bordered tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}
/* Table small + bordered */
.table-sm.table-bordered th,
.table-sm.table-bordered td {
    padding: 0.3rem;
    border: 1px solid #dee2e6;
}

.table-sm.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

/* Hover untuk striped table */
.table-striped.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}
.table-dark {
    color: #fff;
    background-color: #343a40;
}
.table-dark th,
.table-dark td,
.table-dark thead th {
    border-color: #454d55;
}
.table-dark.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}

.table-dark.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.075);
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive > .table {
    margin-bottom: 0;
}


.table caption {
    caption-side: bottom;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #6c757d;
    text-align: left;
    font-style: italic;
}
.table-condensed th,
.table-condensed td {
    padding: 0.2rem;
    font-size: 0.8rem;
}

/* Striped dengan warna berbeda */
.table-striped-primary tbody tr:nth-of-type(odd) {
    background-color: rgba(13, 110, 253, 0.05);
}
.table-striped-success tbody tr:nth-of-type(odd) {
    background-color: rgba(25, 135, 84, 0.05);
}
.table-striped-danger tbody tr:nth-of-type(odd) {
    background-color: rgba(220, 53, 69, 0.05);
}
.table-striped-warning tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 193, 7, 0.05);
}
.table-striped-info tbody tr:nth-of-type(odd) {
    background-color: rgba(13, 202, 240, 0.05);
}

.table .sort-link:hover{
    color: var(--secondary);
    cursor: pointer;
}

.text-center{
    text-align: center !important;
}
.text-right{
    text-align: right !important;
}


/* Toast Container */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
    width: 100%;
}
/* Toast Styling */
.toast {
    background: rgba(30, 30, 40, 0.95);
    color: white;
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: flex-start;
    animation: fadeInRight 0.4s ease forwards;
    position: relative;
    overflow: hidden;
    border-left: 5px solid #2196F3;
}

.toast.success {
    border-left-color: #4CAF50;
}
.toast.error {
    border-left-color: #f44336;
}
.toast.warning {
    border-left-color: #ff9800;
}
.toast.info {
    border-left-color: #2196F3;
}
.toast-content {
    flex: 1;
    padding-right: 10px;
}
.toast-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.toast-message {
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0.9;
}
.toast-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.toast-close:hover {
    color: white;
}
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
}
.toast-progress-bar {
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    width: 100%;
    animation: progressBar linear forwards;
}
/* Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}
@keyframes progressBar {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}
.toast.hiding {
    animation: fadeOutRight 0.4s ease forwards;
}
/* Responsiveness */
@media (max-width: 768px) {
    .button-grid {
        grid-template-columns: 1fr;
    }
    
    #toast-container {
        max-width: 90%;
        left: 5%;
        right: 5%;
        bottom: 10px;
    }
}
