:root {
    --primary-color: #6f42c1;
    /*--secondary-color: #e83e8c;*/
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}
.content-area {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    /*padding: 30px;*/
}

.content-area h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.content-area h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-area h3 {
    color: var(--dark-color);
    margin-top: 25px;
}

.content-area p {
    color: #6c757d;
}

.content-area .card {
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.content-area .card:hover {
    transform: translateY(-5px);
}

.content-area .card-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.feature-list li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 8px;
}

.code-example {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px 0;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.hero-section h1 {
    color: white;
    border: none;
}

.spinner-demo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin: 20px 0;
}

.spinner-item {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s;
}

.spinner-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.spinner-item .spinner {
    margin-bottom: 10px;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.custom-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pulse-spinner {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    margin: 0 auto 20px;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

.dots-spinner {
    display: flex;
    justify-content: center;
    margin: 0 auto 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 5px;
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.btn-loading {
    position: relative;
}

.btn-loading .spinner-border {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-loading.loading .btn-text {
    opacity: 0;
}

.btn-loading.loading .spinner-border {
    opacity: 1;
}

.demo-section {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.tab-content {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.nav-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.nav-tabs .nav-link {
    color: var(--primary-color);
}
