/**
 * A Garanti Katalog Import - Frontend Styles
 * PDF İndirme Kutusu
 * 
 * @package AGarantiKatalogImport
 * @since 1.0.0
 */

/* PDF Download Box */
.agki-pdf-download-box {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.agki-pdf-download-box h4 {
    margin: 0 0 15px 0;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* PDF Links Container */
.agki-pdf-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* PDF Link Button */
.agki-pdf-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.agki-pdf-link:hover {
    border-color: #2271b1;
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.15);
    text-decoration: none;
    color: #333;
}

.agki-pdf-link:active {
    transform: translateY(0);
}

/* PDF Icon */
.agki-pdf-icon {
    font-size: 28px;
    margin-right: 15px;
    flex-shrink: 0;
}

/* PDF Text */
.agki-pdf-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.agki-pdf-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.agki-pdf-text small {
    font-size: 12px;
    color: #666;
}

/* PDF Arrow */
.agki-pdf-arrow {
    font-size: 20px;
    color: #2271b1;
    font-weight: bold;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.agki-pdf-link:hover .agki-pdf-arrow {
    transform: translateY(3px);
}

/* Datasheet specific */
.agki-pdf-datasheet {
    border-left: 4px solid #2271b1;
}

.agki-pdf-datasheet:hover {
    border-left-color: #135e96;
}

/* Manual specific */
.agki-pdf-manual {
    border-left: 4px solid #28a745;
}

.agki-pdf-manual:hover {
    border-left-color: #1e7e34;
}

/* Product Specifications Table (in description) */
.product-specifications {
    margin: 20px 0;
}

.product-specifications h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.product-attributes-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-attributes-table th,
.product-attributes-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.product-attributes-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #555;
    width: 40%;
}

.product-attributes-table td {
    color: #333;
}

.product-attributes-table tr:last-child th,
.product-attributes-table tr:last-child td {
    border-bottom: none;
}

.product-attributes-table tr:hover {
    background: #f8f9fa;
}

/* Responsive */
@media (max-width: 768px) {
    .agki-pdf-download-box {
        padding: 15px;
    }
    
    .agki-pdf-link {
        padding: 12px 15px;
    }
    
    .agki-pdf-icon {
        font-size: 24px;
        margin-right: 12px;
    }
    
    .agki-pdf-text strong {
        font-size: 13px;
    }
    
    .agki-pdf-text small {
        font-size: 11px;
    }
    
    .product-attributes-table th,
    .product-attributes-table td {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .product-attributes-table th {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .agki-pdf-links {
        gap: 8px;
    }
    
    .agki-pdf-link {
        padding: 10px 12px;
    }
    
    .agki-pdf-icon {
        font-size: 20px;
        margin-right: 10px;
    }
    
    .product-attributes-table th {
        width: 50%;
    }
}
