body {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.form-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 20px;
}

.input-group {
    flex: 1;
    min-width: 200px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group input {
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
}

button {
    padding: 8px 20px;
    background-color: #166534;
    color: white;
    border: none;
    cursor: pointer;
    height: 35px;
}

button:hover {
    background-color: #14532d;
}

.tab {
    overflow: hidden;
    border: 1px solid #eee;
    background-color: transparent;
    margin-top: 10px;
    margin-bottom: 0;
}

.tab button {
    background-color: #f8f8f8;
    float: left;
    border: 1px solid #eee;
    outline: none;
    cursor: pointer;
    padding: 4px 16px;
    transition: 0.2s;
    font-size: 14px;
    height: auto;
    color: #333;
    margin-right: -1px;
    margin-bottom: -1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 50px;
}

.tab button .supplier-name {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 2px;
}

.tab button .plan-name {
    font-size: 12px;
    color: #666;
}

.tab button .ratio {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

.tab button:hover {
    background-color: #f0f0f0;
}

.tab button.active {
    background-color: white;
    border-bottom: 1px solid white;
}

.tabcontent {
    display: none;
    padding: 12px 0;
    border: 1px solid #eee;
    border-top: none;
    margin-top: 0;
}

.tabcontent.active {
    display: block;
}

.info-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: help;
    padding: 0 10px;
    height: auto;
}

.info-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    overflow-y: auto;
}

.info-content {
    background-color: white;
    margin: 50px auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close-btn {
    position: sticky;
    top: 0;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.info-content h2, .info-content h3 {
    color: #333;
    margin-top: 20px;
}

.info-content ul {
    padding-left: 20px;
}

.info-content li {
    margin: 10px 0;
}

.info-content a {
    color: #007bff;
    text-decoration: none;
}

.info-content a:hover {
    text-decoration: underline;
}

.waiticon {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
}

.waiticon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: url('2.svg') no-repeat center center;
    background-size: contain;
}

.hidden {
    display: none;
}

#autoFetchBtn {
    position: relative;
    z-index: 100;
    color: white;
    border: none;
    cursor: pointer;
    padding: 8px 20px;
    margin: 20px 0;
    height: 35px;
    display: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: right;
}

th {
    background-color: #f5f5f5;
}

.highlighted-row {
    background-color: #FFD700;
} 