/* Custom Styles for LSP SMK N 2 Lahat */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 56px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Cards */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

/* Sidebar */
#sidebar {
    min-height: calc(100vh - 56px);
    box-shadow: 3px 0 10px rgba(0,0,0,0.1);
}

.sidebar-sticky {
    position: sticky;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: 0.5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.nav-link {
    color: #333;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
}

.nav-link:hover, .nav-link.active {
    background-color: #007bff;
    color: white;
}

.nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Tables */
.table th {
    background-color: #f8f9fa;
    border-top: none;
}

/* Badges */
.badge {
    padding: 5px 10px;
    font-weight: normal;
}

/* Buttons */
.btn {
    border-radius: 5px;
    padding: 8px 20px;
}

.btn-lg {
    padding: 12px 30px;
}

/* Forms */
.form-control, .form-select {
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #ddd;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Alerts */
.alert {
    border-radius: 5px;
    border: none;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Progress bars */
.progress {
    height: 20px;
    border-radius: 10px;
}

.progress-bar {
    border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }
    
    #sidebar {
        min-height: auto;
        margin-bottom: 20px;
    }
    
    .sidebar-sticky {
        height: auto;
        position: static;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
}

/* Custom colors for kejuruan */
.kejuruan-dkv { border-left: 5px solid #007bff; }
.kejuruan-tkj { border-left: 5px solid #28a745; }
.kejuruan-mplb { border-left: 5px solid #17a2b8; }
.kejuruan-akl { border-left: 5px solid #ffc107; }
.kejuruan-perhotelan { border-left: 5px solid #dc3545; }
.kejuruan-bdp { border-left: 5px solid #6c757d; }

/* Status badges */
.badge-status-draft { background-color: #6c757d; }
.badge-status-diajukan { background-color: #007bff; }
.badge-status-diproses { background-color: #ffc107; color: #000; }
.badge-status-disetujui { background-color: #28a745; }
.badge-status-ditolak { background-color: #dc3545; }