/* cataloghi-cliente-frontend.css
 * Stili per shortcode [cataloghi_cliente] - Area riservata cataloghi
 * hello-elementor-child/assets/css/cataloghi-cliente-frontend.css
 * Responsivo + hover effects per admin/gestore/clienti
 */

h2, h3 {
    font-family: "Syne", sans-serif;
    font-size: 2vw;
    font-weight: 700;
    font-style: normal;
    line-height: 1em;
}
p, a {
    font-family: "Syne", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    font-style: normal;
    line-height: 1em;
}

.cataloghi-cliente-container { max-width: 1200px; margin: 0 auto 60px; padding: 0 20px; }

.section-header {   text-align: center; margin-bottom: 50px;}
@media screen and (max-width:767px){.section-header { text-align: center; margin-bottom: 30px; }}

.section-header h2 { font-family: "Syne", sans-serif; font-size: 2.2em; color: #2c3e50; margin: 0 0 20px 0; font-weight: 700; position: relative; }
.section-line { width: 100px; height: 4px; background: linear-gradient(90deg, #667eea, #764ba2); margin: 0 auto; border-radius: 2px; }

.catalogo-card {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

@media screen and (max-width:767px){
	.section-header h2 { font-size: 1.3em!important; } 
	.catalogo-accordion-toggle .card-title{gap:10px!important;}
	.catalogo-card.e-child {padding: 0px;}
}

.catalogo-card:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(65, 133, 244, 0.2); border-color: #4185f4; }

.card-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.card-title { margin-right: 80px;}
.card-title h3 { margin: 0 0 15px 0; color: #2c3e50; font-family: "Syne", sans-serif; font-size: 1.5em; font-weight: 600; line-height: 1.3; }
.view-link { display: inline-block; color: #667eea; font-weight: 600; text-decoration: none; font-size: 1em; }
.documenti-list { margin-top: 25px; padding: 20px; background: #f8f9fa; border-radius: 12px; border-left: 4px solid #667eea; }
.doc-header { font-family: "Syne", sans-serif; font-weight: 600; color: #495057; margin-bottom: 15px; font-size: 1.1em; }

.doc-item {
    margin: 8px 0;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.doc-icon {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #043959, #3b82f6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
}

.doc-info { flex: 1;}
.doc-title { font-family: "Syne", sans-serif; font-weight: 600; color: #2c3e50; margin-bottom: 3px; }
.doc-type { font-family: "Syne", sans-serif; color: #6c757d; font-size: 0.9em; }

.download-btn {
    background: linear-gradient(135deg, #043959, #3b82f6);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95em;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
	text-align:center;
}

.download-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #043959);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    color: rgba(255, 255, 255, 0.8);
}

.no-docs {
	margin-top: 20px; padding: 20px; background: #f8f9fa; border-radius: 12px; border-left: 4px solid #6c757d; text-align: center; color: #6c757d;
}

.no-catalogs {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-left: 6px solid #6c757d;
}

.login-msg {
    padding: 30px;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    /*border: 2px solid #ffd700;*/
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3);
}

.catalogo-card > div {border-radius:12px;}

/* Media Queries - Mobile First */
@media (max-width: 400px) {
    .doc-item { margin: 8px 0; padding: 10px 12px !important; flex-direction: column; gap: 10px; align-items: stretch; }    
    .documenti-list { padding: 20px 10px; }        
}

@media (max-width: 768px) {
    .catalogo-card { padding: 20px 12px; }    
    .card-title h3 {
        font-size: 1.2em;
        padding: 5px 2px;
        font-family: "Syne", sans-serif;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
    }	
	.doc-icon { display: none; }
}

#box-account-bia > div > div > div > div > form > div.um-account-side.uimob340-hide.uimob500-hide > ul > li:nth-child(3){display:none;}
#box-account-bia > div > div > div > div > form > div.um-account-main > div:nth-child(5){display:none;}
.um-notification-b.right { display: none; }