:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    /*background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);*/
    /*color: #343a40;*/
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    padding-bottom: 50px;
}

.preview-area {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.custom-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 150px;
    text-align: center;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    display: inline-block;
    cursor: pointer;
}

.custom-btn:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, .5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.custom-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.code-container {
    background-color: #2d2d2d;
    color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Fira Code', 'Courier New', monospace;
    position: relative;
    min-height: 250px;
    max-height: 350px;
    overflow: auto;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.property-card {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background-color: white;
    border: none;
}

.property-card:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.color-preview {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    display: inline-block;
    border: 1px solid #dee2e6;
    cursor: pointer;
}

.header-section {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border-radius: 0 0 30px 30px;
    padding: 30px 0;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.btn-example {
    margin: 5px;
    transition: all 0.3s ease;
}

.example-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.tab-pane {
    padding: 20px 0;
}

.gradient-preview {
    width: 100%;
    height: 30px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    margin-top: 5px;
    background: linear-gradient(90deg, #0d6efd, #6f42c1);
}

.form-range::-webkit-slider-thumb {
    background: #0d6efd;
}

.form-range::-moz-range-thumb {
    background: #0d6efd;
}

.control-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
}

.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #0d6efd;
    font-weight: 600;
}

.highlight {
    color: #d19a66;
}

.property {
    color: #e06c75;
}

.value {
    color: #98c379;
}

.comment {
    color: #5c6370;
}

.keyframe {
    color: #c678dd;
}

.feature-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #0d6efd;
}

.feature-section {
    background: white;
    border-radius: 20px;
    padding: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 40px 0;
}

.css-property {
    color: #e06c75;
}

.css-value {
    color: #98c379;
}

.css-selector {
    color: #e5c07b;
}

.css-comment {
    color: #5c6370;
    font-style: italic;
}

.btn-generate {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-generate:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.header-logo {
    font-size: 2.5rem;
    margin-right: 15px;
    background: linear-gradient(45deg, #ff9a9e, #fad0c4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
