/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    background-image: url('../images/bg-pattern.png');
    background-attachment: fixed;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    height: 80px;
    margin: 10px;
}

header h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    text-align: center;
    margin: 0;
    flex-grow: 1;
}

header h1 span {
    color: #3498db;
    font-size: 1.4rem;
    display: block;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/bg-hero-pattern.png') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-header {
    border-radius: 10px 10px 0 0 !important;
}

/* Form Styles */
.form-control, .form-select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

/* Button Styles */
.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        height: 60px;
        margin: 5px;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    header h1 span {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 30px 20px !important;
    }
}
footer {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

footer a:hover {
    color: #ffc107 !important;
    text-decoration: underline !important;
}

footer .list-unstyled li {
    margin-bottom: 0.5rem;
}
/* Print Styles */
@media print {
    body {
        background: none;
        font-size: 12pt;
    }
    
    .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

.btn-action {
    padding: 0.25rem 0.5rem;
    margin: 0 2px;
}

/* Hover effect untuk tombol hapus */
.btn-danger:hover {
    transform: scale(1.1);
    transition: all 0.2s;
}