/**
 * ÁSZF Megjelenítő Stílusok
 * Fényképlabor.hu - Általános Szerződési Feltételek
 */

/* Reset és alapok */
.aszf-container * {
    box-sizing: border-box;
}

.aszf-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

/* Fejléc */
.aszf-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 30px;
    border-bottom: 2px solid #dee2e6;
    text-align: center;
}

.aszf-header h1 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #2c3e50;
    font-weight: 600;
}

.aszf-header .aszf-meta {
    font-size: 13px;
    color: #6c757d;
}

/* Gyors navigáció ikonok */
.aszf-quick-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.aszf-quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #555;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-width: 80px;
}

.aszf-quick-nav-item:hover {
    background: #f0f0f0;
    color: #333;
    transform: translateY(-2px);
}

.aszf-quick-nav-item .icon {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    border: 2px solid #dee2e6;
}

.aszf-quick-nav-item .icon svg {
    width: 20px;
    height: 20px;
    fill: #6c757d;
}

.aszf-quick-nav-item span {
    font-size: 11px;
    text-align: center;
}

/* Fő tartalom wrapper */
.aszf-main {
    display: flex;
    min-height: 600px;
}

/* Bal oldali menü */
.aszf-sidebar {
    width: 280px;
    min-width: 280px;
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    max-height: 700px;
}

.aszf-menu {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.aszf-menu-item {
    margin: 0;
    padding: 0;
}

.aszf-menu-item a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #495057;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    font-size: 13px;
}

.aszf-menu-item a:hover {
    background: #e9ecef;
    color: #212529;
    border-left-color: #adb5bd;
}

.aszf-menu-item a.active {
    background: #fff;
    color: #0d6efd;
    border-left-color: #0d6efd;
    font-weight: 500;
}

.aszf-menu-item .menu-icon {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    flex-shrink: 0;
}

.aszf-menu-item .menu-icon svg {
    width: 16px;
    height: 16px;
    fill: #6c757d;
}

.aszf-menu-item a.active .menu-icon {
    background: #e7f1ff;
    border-color: #b6d4fe;
}

.aszf-menu-item a.active .menu-icon svg {
    fill: #0d6efd;
}

/* Letöltések szekció */
.aszf-downloads {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    background: #fff;
}

.aszf-downloads a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #198754;
    background: #d1e7dd;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.aszf-downloads a:last-child {
    margin-bottom: 0;
}

.aszf-downloads a:hover {
    background: #badbcc;
}

.aszf-downloads a svg {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    fill: #198754;
}

/* Tartalom terület */
.aszf-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    max-height: 700px;
}

.aszf-content h2 {
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    color: #2c3e50;
    font-size: 22px;
    font-weight: 600;
}

.aszf-content h3 {
    margin: 25px 0 15px 0;
    color: #34495e;
    font-size: 18px;
    font-weight: 600;
}

.aszf-content h4 {
    margin: 20px 0 10px 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
}

.aszf-content p {
    margin: 0 0 15px 0;
    text-align: justify;
}

.aszf-content ul,
.aszf-content ol {
    margin: 0 0 15px 0;
    padding-left: 25px;
}

.aszf-content li {
    margin-bottom: 8px;
}

.aszf-content a {
    color: #0d6efd;
    text-decoration: none;
}

.aszf-content a:hover {
    text-decoration: underline;
}

.aszf-content strong {
    color: #212529;
}

/* Táblázatok */
.aszf-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 13px;
}

.aszf-table th,
.aszf-table td {
    padding: 10px 15px;
    text-align: left;
    border: 1px solid #dee2e6;
}

.aszf-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.aszf-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Betöltés animáció */
.aszf-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    color: #6c757d;
}

.aszf-loading::before {
    content: '';
    width: 30px;
    height: 30px;
    border: 3px solid #e9ecef;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: aszf-spin 1s linear infinite;
    margin-right: 15px;
}

@keyframes aszf-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tanúsítvány badge */
.aszf-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #28a745;
    border-radius: 20px;
    font-size: 12px;
    color: #155724;
    margin-left: 10px;
}

.aszf-badge svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: #28a745;
}

/* Reszponzív */
@media (max-width: 768px) {
    .aszf-main {
        flex-direction: column;
    }
    
    .aszf-sidebar {
        width: 100%;
        min-width: 100%;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .aszf-menu {
        display: flex;
        flex-wrap: wrap;
        padding: 10px;
    }
    
    .aszf-menu-item {
        flex: 0 0 50%;
    }
    
    .aszf-menu-item a {
        padding: 10px;
        font-size: 12px;
    }
    
    .aszf-content {
        padding: 20px;
        max-height: none;
    }
    
    .aszf-quick-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .aszf-menu-item {
        flex: 0 0 100%;
    }
    
    .aszf-header h1 {
        font-size: 18px;
    }
}

/* Nyomtatás */
@media print {
    .aszf-sidebar {
        display: none;
    }
    
    .aszf-quick-nav {
        display: none;
    }
    
    .aszf-content {
        max-height: none;
        padding: 0;
    }
    
    .aszf-container {
        border: none;
    }
}
