:root {
    --primary-color: #6f42c1;
    /*--secondary-color: #6c757d;*/
    --success-color: #198754;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d6efd 100%);
    color: white;
    padding: 10px 0;
    margin-bottom: 20px;
}

.example-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.example-header {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
}

.example-body {
    padding: 25px 20px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.example-footer {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
}

.code-container {
    background-color: #282c34;
    border-radius: 5px;
    padding: 15px;
    margin-top: 15px;
}

.section-title {
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

footer {
    background-color: #343a40;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.spinner-demo {
    margin: 10px;
}

.placeholder-demo {
    width: 100%;
}

.placeholder-row {
    margin-bottom: 15px;
}

.interactive-controls {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
}

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

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

.btn-loading {
    position: relative;
}

.btn-loading .spinner-border {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
}

.btn-loading .btn-text {
    opacity: 1;
    transition: opacity 0.3s;
}

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