/* Comments Slider Showcase CSS */

.css-slider-wrapper {
    max-width: 600px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.css-slider-container {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    overflow: hidden;
}

/* Slides */
.css-slides {
    position: relative;
    height: 400px;
}

.css-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.css-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.css-slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Profile Section */
.css-profile-section {
    display: none;
    margin-bottom: 20px;
}

.css-profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.css-profile-initials {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    border: 4px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Author Name */
.css-author-name {
    font-size: 22px;
    font-weight: 700;
    margin: 15px 0 8px;
    color: #333;
    line-height: 1.3;
}

/* Designation */
.css-author-designation {
    font-size: 14px;
    color: #888;
    margin: 0 0 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Comment Text */
.css-comment-text {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 20px 0 15px;
    font-style: italic;
    min-height: auto;
    display: block;
}

.css-comment-text p {
    margin: 0;
}

/* Source Post */
.css-comment-source {
    font-size: 12px;
    color: #aaa;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

/* Controls */
.css-slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.css-btn {
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    color: #666;
}

.css-btn:hover {
    background: #667eea;
    border-color: #667eea;
    color: #fff;
    transform: scale(1.05);
}

.css-btn:active {
    transform: scale(0.95);
}

.css-arrow {
    display: inline-block;
}

/* Indicators */
.css-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 0;
}

.css-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.css-indicator:hover {
    background: #bbb;
    transform: scale(1.2);
}

.css-indicator.active {
    background: #667eea;
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 768px) {
    .css-slider-container {
        padding: 30px 20px;
    }

    .css-slides {
        height: 450px;
    }

    .css-profile-image,
    .css-profile-initials {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }

    .css-profile-initials {
        font-size: 26px;
    }

    .css-author-name {
        font-size: 18px;
    }

    .css-comment-text {
        font-size: 14px;
        min-height: auto;
    }

    .css-btn {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .css-slider-container {
        padding: 25px 15px;
        border-radius: 8px;
    }

    .css-slides {
        height: 500px;
    }

    .css-profile-image,
    .css-profile-initials {
        width: 70px;
        height: 70px;
    }

    .css-profile-initials {
        font-size: 22px;
    }

    .css-author-name {
        font-size: 16px;
        margin: 10px 0 5px;
    }

    .css-author-designation {
        font-size: 13px;
        margin: 0 0 10px;
    }

    .css-comment-text {
        font-size: 13px;
        min-height: auto;
    }

    .css-slider-controls {
        gap: 10px;
        margin-top: 20px;
    }

    .css-btn {
        width: 44px;
        height: 44px;
        font-size: 14px;
    }

    .css-indicator {
        width: 6px;
        height: 6px;
    }
}