.weight-calculator-container {
    max-width: 800px;
    width: 95%;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group select {
    height: auto;
    min-height: 40px;
    padding: 8px;
    line-height: 1.4;
}

.form-group select option {
    padding: 8px;
    white-space: normal;
    min-height: 1.2em;
    line-height: 1.4;
}

.calculate-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.calculate-button:hover {
    background-color: #45a049;
}

.results-container {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.weight-loss-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    min-width: 700px;
}

.weight-loss-table th,
.weight-loss-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.weight-loss-table th {
    background-color: #f5f5f5;
}

.calories-result {
    font-size: 18px;
    font-weight: bold;
    color: #4CAF50;
    margin: 15px 0;
}

.table-scroll-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.table-scroll-top {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    height: 20px;
    margin-bottom: 5px;
}
.table-scroll-inner {
    height: 1px;
}
.table-scroll-content {
    width: 100%;
    overflow-x: auto;
    /* Скрываем стандартную полосу прокрутки для содержимого */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.table-scroll-content::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

.table-scroll-bottom {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    height: 20px;
    margin-top: 5px;
} 