/*

TemplateMo 546 Sixteen Clothing

https://templatemo.com/tm-546-sixteen-clothing

*/


/*
        :root {
            --primary: #2c3e50;
            --secondary: #3498db;
            --accent: #e74c3c;
            --light: #ecf0f1;
            --dark: #34495e;
            --text: #2c3e50;
            --text-light: #7f8c8d;
            --success: #27ae60;
            --warning: #f39c12;
            --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text);
            background-color: #f8f9fa;
            line-height: 1.6;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        */
		


        /* Header */
        /*
		header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
            color: white;
            padding: 15px 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
		/*
        

		/*
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo img {
            height: 40px;
        }
        
        .logo-text {
            font-size: 24px;
            font-weight: 700;
        }
        
        .logo-text span {
            color: var(--secondary);
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 25px;
        }
        
        nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        nav ul li a:hover {
            color: var(--secondary);
        }
        
        .search-bar {
            display: flex;
            margin-left: 20px;
        }
        
        .search-bar input {
            padding: 10px 15px;
            border: none;
            border-radius: 4px 0 0 4px;
            outline: none;
            width: 250px;
        }
        
        .search-bar button {
            background-color: var(--secondary);
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .search-bar button:hover {
            background-color: #2980b9;
        }
        
        */
		 
        /* Breadcrumb */

		 /*
        .breadcrumb {
            padding: 15px 0;
            background-color: white;
            font-size: 14px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            margin-bottom: 20px;
        }
        
        .breadcrumb a {
            color: var(--secondary);
            text-decoration: none;
        }
        
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        
*/

		
        /* Main Content */
        
		 
		.main-content {
            padding: 20px 0;
        }
        
        .location-header {
            background: linear-gradient(to right, #3498db, #2c3e50);
            color: white;
            padding: 30px;
            border-radius: 8px;
            margin-bottom: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: var(--shadow);
        }
        
        .location-info h1 {
            font-size: 36px;
            margin-bottom: 10px;
        }
        
        .location-info p {
            font-size: 18px;
            opacity: 0.9;
        }
        
        .location-stats {
            display: flex;
            gap: 20px;
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-value {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 5px;
        }
        
        .stat-label {
            font-size: 14px;
            opacity: 0.8;
        }
		
        
        
        /* Data Sections */
        
		 
		.data-section {
            background-color: white;
            border-radius: 8px;
            box-shadow: var(--shadow);
            padding: 25px;
            margin-bottom: 30px;
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--light);
        }
        
        .section-header h2 {
            font-size: 22px;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .section-header h2 i {
            color: var(--secondary);
        }
        
        .view-all {
            color: var(--secondary);
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .view-all:hover {
            text-decoration: underline;
        }
        
		
        .data-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .data-card {
            background-color: var(--light);
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            transition: var(--transition);
            border-left: 4px solid var(--secondary);
        }
        
        .data-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }
        
        .data-card h3 {
            font-size: 16px;
            color: var(--text-light);
            margin-bottom: 15px;
        }
        
		
        .data-value {
            font-size: 28px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 10px;
        }
        
        .data-change {
            font-size: 14px;
            padding: 3px 8px;
            border-radius: 20px;
            display: inline-block;
        }
        
        .positive {
            background-color: rgba(39, 174, 96, 0.2);
            color: #27ae60;
        }
        
        .negative {
            background-color: rgba(231, 76, 60, 0.2);
            color: #e74c3c;
        }
        
        .chart-container {
            position: relative;
            height: 350px;
            margin: 20px 0;
        }
         
        
		/* Footer */
        
		footer {
            background-color: var(--dark);
            color: white;
            padding: 40px 0 20px;
            margin-top: 50px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .footer-section h3 {
            font-size: 18px;
            margin-bottom: 15px;
            color: var(--secondary);
        }
        
        .footer-section p, .footer-section a {
            color: #ccc;
            margin-bottom: 10px;
            display: block;
            text-decoration: none;
            transition: var(--transition);
        }
        
        .footer-section a:hover {
            color: var(--secondary);
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }
        
        .social-links a {
            font-size: 20px;
        }
        

        /*
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #4a6572;
            color: #ccc;
            font-size: 14px;
        }
		*/
        
        /* Responsive */
         
		@media (max-width: 992px) {
            .location-header {
                flex-direction: column;
                text-align: center;
                gap: 20px;
            }
            
            .location-stats {
                justify-content: center;
            }
        }
        
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                align-items: flex-start;
            }
            
            nav ul {
                margin-top: 15px;
                flex-wrap: wrap;
            }
            
            nav ul li {
                margin: 0 15px 10px 0;
            }
            
            .search-bar {
                margin: 15px 0 0;
                width: 100%;
            }
            
            .search-bar input {
                flex-grow: 1;
            }
            
            .data-grid {
                grid-template-columns: 1fr;
            }
            
            .location-stats {
                flex-wrap: wrap;
            }
        }
        
        .map-container {
            height: 400px;
            background-color: #eef2f7;
            border-radius: 8px;
            overflow: hidden;
            margin: 20px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-size: 18px;
        }
        
        .indicator {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 6px;
        }
        
        .indicator i {
            font-size: 24px;
            margin-right: 15px;
            color: var(--secondary);
        }
        
        .indicator-content {
            flex-grow: 1;
        }
        
        .indicator-title {
            font-weight: 500;
            margin-bottom: 5px;
        }
        
        .progress-bar {
            height: 8px;
            background: #e0e0e0;
            border-radius: 4px;
            overflow: hidden;
        }
        
        .progress {
            height: 100%;
            background: var(--secondary);
            border-radius: 4px;
        }

/*
        .table-container {
    	   max-height: 300px;
    	   overflow-y: auto;
    	   border: 1px solid #dee2e6;
    	   border-radius: 5px;
	}

	.data-table {
    	   width: 100%;
    	   margin-bottom: 0;
	}

	.data-table th {
    	   position: sticky;
    	   top: 0;
    	   background-color: #f8f9fa;
    	   z-index: 10;
    	   font-weight: bold;
	}

	.data-table th, .data-table td {
    	   padding: 8px 12px;
    	   border: 1px solid #dee2e6;
    	   text-align: center;
    	   font-size: 0.9rem;
	}

	.data-table tr:nth-child(even) {
    	   background-color: #f8f9fa;
	}

	.data-table tr:hover {
    	   background-color: #e9ecef;
	} 

*/



.table-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 5px;

    /* MISMA TIPOGRAFÍA QUE LA GRÁFICA */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.data-table {
    width: 100%;
    margin-bottom: 0;
    font-family: inherit;   /* hereda la de arriba */
    color: #444;            /* parecido al texto del chart */
}

.data-table th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 10;
    font-weight: 600;       /* similar a labels del chart */
    font-size: 0.95rem;
}

.data-table th, 
.data-table td {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    text-align: center;
    font-size: 0.9rem;
}

.data-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.data-table tr:hover {
    background-color: #e9ecef;
}




