/* ------ default ------ */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Prompt', Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.header {
    background: #1e5631;
    padding: 25px 0;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

 .header-content {
     max-width: 1200px;
     margin: 0 auto;
     display: flex;
     align-items: center;
     gap: 25px;
     padding: 0 20px;
 }

.logo {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.title-section {
     flex: 1;
     min-width: 0;
}

.title-section h1 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.login-btn {
     background: rgba(255,255,255,0.2);
     border: 2px solid rgba(255,255,255,0.3);
     color: white;
     padding: 10px 20px;
     border-radius: 25px;
     font-weight: 600;
     text-decoration: none;
     font-size: 14px;
     transition: all 0.3s ease;
     white-space: nowrap;
 }

 .login-btn:hover {
     background: rgba(255,255,255,0.3);
 }

.nav-section {
    background: rgba(30, 86, 49, 0.95);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: white;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-top {
     background: rgba(255,255,255,0.1);
     padding: 15px 20px;
     border-radius: 8px;
     margin-bottom: 20px;
 }

 .date-info {
     font-size: 16px;
     font-weight: 500;
     text-align: center;
 }

 .controls-row {
     display: grid;
     grid-template-columns: 1fr;
     gap: 30px;
     align-items: center;
     margin-bottom: 20px;
 }

 .controls {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
     gap: 15px;
     align-items: center;
 }

 .control-select {
     background: rgba(255,255,255,0.95);
     border: 2px solid rgba(255,255,255,0.5);
     color: #333;
     padding: 12px 16px;
     border-radius: 8px;
     font-size: 14px;
     font-weight: 500;
     font-family: 'Prompt', sans-serif;
 }

 .search-btn {
     background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
     border: none;
     color: white;
     padding: 12px 25px;
     border-radius: 25px;
     font-weight: 600;
     box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
     cursor: pointer;
     font-size: 14px;
     font-family: 'Prompt', sans-serif;
 }

 .search-btn:hover {
     background: linear-gradient(135deg, #45a049 0%, #388e3c 100%);
 }

 .nav-menu {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 2px;
     background: rgba(255,255,255,0.1);
     padding: 2px;
     border-radius: 4px;
 }

 .nav-menu a {
     color: white;
     text-decoration: none;
     padding: 12px 15px;
     font-weight: 500;
     font-size: 14px;
     text-align: center;
     background: rgba(30, 86, 49, 0.95);
     transition: all 0.2s ease;
 }

 .nav-menu a:first-child {
     border-radius: 3px 0 0 3px;
 }

 .nav-menu a:last-child {
     border-radius: 0 3px 3px 0;
 }

 .nav-menu a:hover {
     background: rgba(255,255,255,0.15);
 }

 .nav-menu a.active {
     background: #4caf50;
     font-weight: 600;
 }

.content-container {
 max-width: 1200px;
 margin: 20px auto;
 padding: 20px;
}
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

.pagination a:hover {
    background-color: #f8f9fa;
}

.pagination a.active {
    background-color: #1e5631;
    color: white;
    border-color: #1e5631;
}

.food-list-container {
 background: white;
 border-radius: 8px;
 padding: 30px;
 border: 2px solid #333;
}

.full-list-header {
 display: flex;
 justify-content: space-between;
 align-items: flex-start;
 margin-bottom: 30px;
}

.full-list-title {
 display: flex;
 align-items: flex-start;
 gap: 15px;
}

.full-list-icon {
 width: 30px;
 height: 30px;
 flex-shrink: 0;
 margin-top: 5px;
}

.title-text h2 {
 font-size: 20px;
 font-weight: 600;
 color: #333;
 margin: 0 0 5px 0;
 line-height: 1.3;
}

.title-text .count {
 font-size: 16px;
 color: #666;
 font-weight: 400;
}

.export-btn {
 background: linear-gradient(135deg, #1e5631 0%, #2d7d32 100%);
 color: white;
 border: none;
 padding: 10px 20px;
 border-radius: 6px;
 cursor: pointer;
 font-weight: 500;
 font-size: 14px;
 font-family: 'Prompt', sans-serif;
 text-decoration: none;
 display: inline-block;
}

.export-btn:hover {
 background: linear-gradient(135deg, #0f2819 0%, #1e5631 100%);
}

.food-table {
 width: 100%;
 border-collapse: collapse;
}

.food-table th {
 background-color: #f8f9fa;
 color: #333;
 font-weight: 600;
 padding: 15px 12px;
 text-align: left;
 border-bottom: 2px solid #333;
 font-size: 14px;
}

.food-table td {
 padding: 12px;
 border-bottom: 1px solid #e0e0e0;
 font-size: 14px;
 color: #333;
 vertical-align: middle;
}

.food-table tr:hover {
 background-color: #f8f9fa;
}

.rank-col { width: 10%; text-align: center; font-weight: 600; }
.food-col { width: 60%; }
.level-col { width: 30%; text-align: left; }

.level-badge {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 80px;
    justify-content: center;
}
.level-badge2 {
    background: linear-gradient(135deg, #F0E002 0%, #DECF02 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 80px;
    justify-content: center;
}
.level-badge3 {
    background: linear-gradient(135deg, #18E002 0%, #16BD04 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 80px;
    justify-content: center;

.level-icon {
 width: 14px;
 height: 14px;
 fill: white;
}

.salt-unit {
 font-size: 11px;
 opacity: 0.9;
}


@media (max-width: 1024px) {
 .header-content {
     flex-direction: column;
     text-align: center;
     gap: 15px;
 }

 .controls-row {
     gap: 15px;
 }

 .controls {
     grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
 }
}

@media (max-width: 768px) {
 .nav-menu {
     grid-template-columns: 1fr;
     gap: 1px;
 }

 .nav-menu a {
     border-radius: 0 !important;
 }

 .nav-menu a:first-child {
     border-radius: 3px 3px 0 0 !important;
 }

 .nav-menu a:last-child {
     border-radius: 0 0 3px 3px !important;
 }

 .controls {
     grid-template-columns: 1fr;
 }

 .control-select {
     width: 100%;
 }

 .food-table {
     font-size: 12px;
 }

 .rank-col { width: 15%; }
 .food-col { width: 55%; }
 .level-col { width: 30%; }
}
