.skeleton-loader {
    background: linear-gradient(90deg, #2b2b2b 25%, #3a3a3a 50%, #2b2b2b 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-card {
    background: #1e1e2d;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    padding: 20px;
    margin-bottom: 20px;
    min-height: 300px;
    border: 1px solid #2b2b40;
}

.skeleton-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 0;
}

.skeleton-badge {
    height: 20px;
    width: 80px;
}

.skeleton-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.skeleton-item {
    text-align: center;
    padding: 10px;
}

.skeleton-icon {
    height: 24px;
    width: 24px;
    margin: 0 auto 8px;
    border-radius: 50%;
}

.skeleton-text {
    height: 16px;
    width: 80%;
    margin: 0 auto;
}

.skeleton-text-small {
    height: 12px;
    width: 60%;
    margin: 4px auto 0;
}

.skeleton-divider {
    height: 1px;
    width: 100%;
    margin: 15px 0;
}

.skeleton-footer {
    height: 40px;
    width: 100%;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #2b2b40;
    border-top: 3px solid #3699ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.skeleton-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.skeleton-grid .skeleton-card {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px 20px 10px;
    max-width: calc(33.333% - 20px);
}

@media (max-width: 1200px) {
    .skeleton-grid .skeleton-card {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .skeleton-grid .skeleton-card {
        flex: 0 0 calc(100% - 20px);
        max-width: calc(100% - 20px);
    }

    .skeleton-content {
        grid-template-columns: 1fr;
    }
}

.skeleton-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (max-width: 991.98px) {
    .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767.98px) {
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.pcard {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pcard-body {
    flex: 1;
}
