/* File: css/style.css */
/* Custom Styling untuk Sistem Pembelajaran */

:root {
    --primary-color: #4e73df;
    --secondary-color: #858796;
    --success-color: #1cc88a;
    --danger-color: #e74a3b;
    --warning-color: #f6c23e;
    --info-color: #36b9cc;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.main-content {
    padding: 30px;
    background: #f8f9fc;
    min-height: 100vh;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px 10px 0 0 !important;
    padding: 15px 20px;
    font-weight: 600;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: #f8f9fc;
    border-bottom: 2px solid #e3e6f0;
    color: #5a5c69;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.badge-status-lulus {
    background: var(--success-color);
}

.badge-status-tidak-lulus {
    background: var(--danger-color);
}

.badge-status-proses {
    background: var(--warning-color);
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

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

.stat-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-card .icon.primary {
    background: rgba(78, 115, 223, 0.1);
    color: var(--primary-color);
}

.stat-card .icon.success {
    background: rgba(28, 200, 138, 0.1);
    color: var(--success-color);
}

.stat-card .icon.warning {
    background: rgba(246, 194, 62, 0.1);
    color: var(--warning-color);
}

.stat-card .icon.info {
    background: rgba(54, 185, 204, 0.1);
    color: var(--info-color);
}

.chat-container {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #e3e6f0;
    border-radius: 10px;
    padding: 20px;
    background: #f8f9fc;
}

.chat-message {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-bubble {
    max-width: 70%;
    padding: 12px 18px;
    border-radius: 18px;
    word-wrap: break-word;
}

.chat-message.ai .chat-bubble {
    background: white;
    border: 1px solid #e3e6f0;
}

.chat-message.user .chat-bubble {
    background: var(--primary-color);
    color: white;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-label {
    font-weight: 600;
    color: #5a5c69;
}

.alert {
    border: none;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -100%;
        transition: left 0.3s;
        z-index: 1000;
    }
    
    .sidebar.show {
        left: 0;
    }
}
