/* styles.css */
.container-main {
    width: 1000px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

.container {
    width: 400px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 30px;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

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

.required:after {
    content: ' *';
    color: orange;
}

input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.slider-container {
    display: flex;
    align-items: center;
}

.slider-container input[type="range"] {
    width: 70%;
    margin-right: 10px;
}

.slider-container input[type="number"] {
    width: 30%;
    font-size: 12px;
}

.error {
    color: red;
    font-size: 12px;
    display: none;
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

button {
    padding: 8px 12px;
    font-size: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

button:disabled {
    background-color: #565656;
}

.delete-button {
    background-color: #ff4c4c;
    color: white;
    padding: 8px 10px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 5px;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

table, th, td {
    border: 1px solid #ccc;
    font-size: 13px;
}

th, td {
    padding: 5px;
    text-align: center;
}

th {
    background-color: #f0f0f0;
}

.detail-group {
    display: none;
}

.detail-toggle {
    cursor: pointer;
    color: #007bff;
    text-decoration: underline;
    margin-bottom: 10px;
    display: inline-block;
}

.add-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 6px 20px;
    cursor: pointer;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 14px;
}

.add-button:hover {
    background-color: #0056b3;
}

.note {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

.download-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.download-button:hover {
    background-color: #0056b3;
}

.image-button {
    display: inline-block;
    text-align: center;
    margin-top: 20px;
}
.image-button img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}
.image-button span {
    font-size: 0.8em;
    color: gray;
}
.server-buttons-container {
    position: fixed;
    bottom: 20px;
    right: 280px;
    display: flex;
    gap: 10px;
    overflow-x: auto; /* 서버 버튼 컨테이너에서도 가로 스크롤 허용 */
}

.image-text {
    display: block;
    margin-bottom: 12px;
    font-size: 10px;
}