/* สไตล์พื้นฐาน */
body {
    font-family: 'Prompt', sans-serif;
    background-color: #f8f9fa;
}

/* สไตล์ sidebar */
.sidebar {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    border-radius: 5px;
    padding: 10px 15px;
    transition: all 0.3s;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
}

.sidebar .nav-link i {
    margin-right: 10px;
}

/* สไตล์การ์ด */
.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: none;
}

.card-header {
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0 !important;
}

/* สไตล์ปุ่ม */
.btn-primary {
    background-color: #667eea;
    border-color: #667eea;
}

.btn-primary:hover {
    background-color: #5a6fd1;
    border-color: #5a6fd1;
}

/* สไตล์ badge */
.badge-success {
    background-color: #28a745;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-danger {
    background-color: #dc3545;
}

/* สไตล์ breadcrumb */
.breadcrumb {
    padding: 0;
    background-color: transparent;
    margin-bottom: 0;
}

/* สไตล์ activity feed */
.feed-item {
    padding: 10px;
    border-left: 3px solid #667eea;
}

/* สไตล์ progress circle */
.progress-circle {
    width: 120px;
    height: 120px;
    position: relative;
    margin: 0 auto;
}

.progress-circle-svg {
    width: 100%;
    height: 100%;
}

.progress-circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3;
}

.progress-circle-fg {
    fill: none;
    stroke: #667eea;
    stroke-width: 3;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dasharray 0.5s ease;
}

.progress-circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

/* สไตล์ responsive */
@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
    }
    
    .main-content {
        padding: 15px;
    }
}