/* Samples page specific styles */

.samples-hero {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 40px;
}

.samples-wrapper {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 2fr;
    gap: 2rem;
}

.sample-list {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 110px;
}

.sample-list h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.sample-item {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    padding: 18px 20px;
    background: transparent;
    margin-bottom: 12px;
    transition: all 0.25s ease;
    text-align: left;
}

.sample-item:last-child {
    margin-bottom: 0;
}

.sample-item.active,
.sample-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
    transform: translateX(4px);
}

.sample-item-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-color);
}

.sample-item-meta {
    font-size: 0.9rem;
    color: #6b7280;
}

.sample-preview {
    background: #050a1f;
    border-radius: 24px;
    min-height: 600px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(5, 10, 31, 0.4);
    position: relative;
    overflow: hidden;
}

.sample-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.2), transparent 55%);
    pointer-events: none;
}

.sample-preview iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 16px;
    background: #0f172a;
    position: relative;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.sample-preview iframe.loading {
    opacity: 0.2;
}

.sample-preview-empty {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 40px;
}

@media (max-width: 992px) {
    .samples-wrapper {
        grid-template-columns: 1fr;
    }

    .sample-list {
        position: static;
    }

    .sample-preview {
        min-height: 480px;
    }

    .sample-preview iframe {
        height: 480px;
    }
}

