/**
 * Zip Zip Frontend Styles
 */

.zip-zip-frontend-logos {
    margin: 40px 0;
}

/* Section */
.zip-zip-frontend-section {
    margin-bottom: 60px;
}

.zip-zip-frontend-section:last-child {
    margin-bottom: 0;
}

.zip-zip-frontend-section-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #1e1e1e;
}

.zip-zip-frontend-section-description {
    margin: 0 0 30px 0;
    padding: 15px 20px;
    background: #f9f9f9;
    border-left: 4px solid #2271b1;
    color: #555;
    line-height: 1.6;
}

/* Logos Grid */
.zip-zip-frontend-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.zip-zip-frontend-logo-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Logo Item */
.zip-zip-frontend-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.zip-zip-frontend-logo-item:hover {
    border-color: #2271b1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Logo Preview */
.zip-zip-frontend-logo-preview {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #fafafa;
    border-radius: 4px;
    padding: 15px;
}

.zip-zip-frontend-logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Logo Icon (for non-image files) */
.zip-zip-frontend-logo-icon {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #f0f0f1;
    border-radius: 4px;
}

.zip-zip-file-type {
    font-size: 24px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
}

/* Logo Info */
.zip-zip-frontend-logo-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 15px;
}

.zip-zip-frontend-filename {
    font-weight: 600;
    font-size: 14px;
    color: #1e1e1e;
    margin-bottom: 4px;
    word-break: break-word;
}

.zip-zip-frontend-filesize {
    font-size: 12px;
    color: #757575;
}

/* Download Link */
.zip-zip-frontend-download {
    display: inline-block;
    padding: 10px 20px;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.zip-zip-frontend-download:hover {
    background: #135e96;
    color: #fff;
}

/* Download All Button */
.zip-zip-download-all-wrapper {
    margin: 20px 0 30px 0;
}

.zip-zip-download-all-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
    cursor: pointer;
}

.zip-zip-download-all-btn:hover {
    background: #135e96;
    color: #fff;
}

/* Plain Image Display */
.zip-zip-display-plain .zip-zip-frontend-plain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.zip-zip-plain-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* List View Display */
.zip-zip-display-list {
    max-width: 1400px;
    margin: 0 auto;
}

.zip-zip-list-page-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 40px 0;
    padding-bottom: 20px;
    border-bottom: 2px dotted #ddd;
    color: #1e1e1e;
}

.zip-zip-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px dotted #ddd;
    gap: 30px;
}

.zip-zip-list-row:last-child {
    border-bottom: 2px dotted #ddd;
}

.zip-zip-list-section-name {
    flex: 0 0 200px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #666;
}

.zip-zip-list-formats {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.zip-zip-format-text {
    font-weight: 400;
    letter-spacing: 0.5px;
}

.zip-zip-format-separator {
    color: #ddd;
}

.zip-zip-download-all-btn-simple {
    flex: 0 0 auto;
    display: inline-block;
    padding: 10px 25px;
    background: #999;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.zip-zip-download-all-btn-simple:hover {
    background: #777;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .zip-zip-frontend-logos-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }

    .zip-zip-frontend-section-title {
        font-size: 20px;
    }

    .zip-zip-frontend-logo-preview,
    .zip-zip-frontend-logo-icon {
        height: 120px;
    }

    .zip-zip-display-plain .zip-zip-frontend-plain-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 15px;
    }

    .zip-zip-list-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .zip-zip-list-section-name {
        flex: 0 0 auto;
    }

    .zip-zip-list-formats {
        flex-wrap: wrap;
    }

    .zip-zip-list-page-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .zip-zip-frontend-logos-grid {
        grid-template-columns: 1fr;
    }

    .zip-zip-display-plain .zip-zip-frontend-plain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zip-zip-download-all-btn-simple {
        width: 100%;
        text-align: center;
    }
}
