body { background-color: #363636; margin: 0; padding: 0; }

.container {
    color: #333;
}


h4 {
    color: white;                  /* 文字颜色设为白色 */
    background-color: #333;        /* 添加深色背景确保文字可见 */
    padding: 5px;                 /* 内边距增加可读性 */
    text-align: center;            /* 文字居中对齐 */
    margin: 0 -20px 20px -20px;    /* 边缘对齐容器 */
}.container {
    color: #333;                   /* 容器内默认文本颜色为深灰色 */
}

.image-container {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    position: relative;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    background-color: #000000;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

.image-container img.active {
    display: block;
}

.loading {
    color: #333;
    text-align: center;
    line-height: 60vh;
    font-size: 18px;
}

.controls {
    text-align: center;
    margin-bottom: 20px;
}

.controls .btn {
    margin: 0 10px;
}

.btn {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

.btn:hover {
    background-color: #45a049;
}

.info {
    color: #666;
    font-size: 14px;
}

.quilt-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.control-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.control-group label {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.control-group input[type="number"] {
    width: 80px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.exif-info {
    margin: 15px 0;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.exif-info label {
    display: block;
    font-size: 14px;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

.exif-info textarea {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: monospace;
    resize: vertical;
    box-sizing: border-box;
}


/* 胶囊按钮样式 */
.toggle-container {
    margin: 15px 0;
    text-align: left;
    margin-left: 20px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 34px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    font-weight: bold;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #4CAF50;
}

input:checked + .toggle-slider:before {
    transform: translateX(66px);
}

.toggle-slider:after {
    content: "";
    padding-right: 0;
    transition: .4s;
}

input:checked + .toggle-slider:after {
    content: "";
    padding-right: 0;
    padding-left: 0;
}