: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: 40px;
}

.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: 100px;
}

.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);
}

.toast-demo {
    max-width: 100%;
    margin-bottom: 20px;
}

.interactive-controls {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
}

.toast-container-custom {
    position: relative;
    min-height: 200px;
    border: 1px dashed #dee2e6;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.toast-position-demo {
    position: absolute;
}

.custom-toast {
    background-color: var(--primary-color);
    color: white;
}

.custom-toast .toast-header {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
}

.custom-toast .btn-close {
    filter: invert(1);
}

.position-indicator {
    position: absolute;
    background-color: rgba(111, 66, 193, 0.1);
    border: 2px dashed var(--primary-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: bold;
}

.position-indicator.top-left {
    top: 10px;
    left: 10px;
    width: 100px;
    height: 50px;
}

.position-indicator.top-right {
    top: 10px;
    right: 10px;
    width: 100px;
    height: 50px;
}

.position-indicator.bottom-left {
    bottom: 10px;
    left: 10px;
    width: 100px;
    height: 50px;
}

.position-indicator.bottom-right {
    bottom: 10px;
    right: 10px;
    width: 100px;
    height: 50px;
}

.position-indicator.top-center {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 50px;
}

.position-indicator.bottom-center {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 50px;
}

.demo-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
