
.test-sites-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.test-site-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.test-site-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.placeholder-image {
    height: 200px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    margin-bottom: 15px;
    color: #888;
}

.test-site-card h3 {
    margin: 10px 0;
    color: #333;
}

.test-site-card p {
    color: #666;
    margin-bottom: 15px;
}

.test-site-actions {
    margin-top: 15px;
}

.btn-view {
    background-color: #4CAF50;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.btn-view:hover {
    background-color: #45a049;
}

.btn-download {
    background-color: #0073aa;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-download:hover {
    background-color: #005a87;
}

.file-list {
    margin-top: 10px;
    text-align: left;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 4px;
}

.file-tree {
    list-style-type: none;
    padding-left: 20px;
    margin: 0;
}

.file-tree ul {
    padding-left: 20px;
}

.file-tree li {
    margin: 5px 0;
}

.file-tree .folder {
    font-weight: bold;
    color: #0073aa;
    cursor: pointer;
}

.file-tree .folder:before {
    content: "📁 ";
}

.file-tree a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 2px 5px;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.file-tree a:hover {
    background-color: #f0f0f0;
}

.file-tree a:before {
    content: "📄 ";
}

.loading {
    color: #888;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .test-sites-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .test-sites-container {
        grid-template-columns: 1fr;
    }
}