#main_bg {
    background-image: url(../assets/images/background/pbr_bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    min-height: 100vh;
    width: 100%;
    background-attachment: fixed;
    z-index: -1;
}

#panel {
    font-family: "Yu Gothic UI", sans-serif;
}

#panel h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    /* font-weight: 600; */
    font-family: "Yu Gothic UI", sans-serif;
}

.upload-section {
    position: relative;
    margin-bottom: 20px;
}

.upload-area {
    border: 2px dashed rgba(55, 177, 140, 0.5);
    border-radius: 12px;
    padding: 40px 20px 50px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(55, 177, 140, 0.7);
}

.upload-area.drag-over {
    border-color: rgba(55, 177, 140, 0.8);
    background: rgba(55, 177, 140, 0.15);
}

.upload-content svg {
    color: rgba(55, 177, 140, 0.7);
    margin-bottom: 16px;
}

.upload-content p {
    font-size: 16px;
    color: #333;
    margin: 8px 0;
    /* font-weight: 500; */
    font-family: "Yu Gothic UI", sans-serif;
}

.upload-content .sub-text {
    font-size: 13px;
    color: #666;
    font-family: "Yu Gothic UI", sans-serif;
}

.upload-folder-btn {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background: rgba(55, 177, 140, 0.75);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    /* font-weight: 600; */
    font-family: "Yu Gothic UI", sans-serif;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(55, 177, 140, 0.3);
}

.upload-folder-btn:hover {
    background: rgba(55, 177, 140, 0.9);
    transform: translateX(-50%) translateY(-1px);
    box-shadow: 0 4px 10px rgba(55, 177, 140, 0.35);
}

.settings-panel {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(55, 177, 140, 0.15);
}

.setting-group {
    margin-bottom: 18px;
}

.setting-group:last-child {
    margin-bottom: 0;
}

.setting-group label {
    display: block;
    font-size: 14px;
    /* font-weight: 600; */
    color: #2a2a2a;
    margin-bottom: 10px;
    font-family: "Yu Gothic UI", sans-serif;
}

.setting-group select,
.setting-group input[type="range"],
.setting-group input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(55, 177, 140, 0.25);
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: "Yu Gothic UI", sans-serif;
}

.setting-group select:focus,
.setting-group input[type="text"]:focus {
    outline: none;
    border-color: rgba(55, 177, 140, 0.5);
    box-shadow: 0 0 0 3px rgba(55, 177, 140, 0.08);
}

.setting-group input[type="range"] {
    padding: 0;
    cursor: pointer;
}

.radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.radio-group label {
    display: flex;
    align-items: center;
    /* font-weight: 400; */
    cursor: pointer;
    font-size: 14px;
    font-family: "Yu Gothic UI", sans-serif;
}

.radio-group input[type="radio"] {
    margin-right: 4px;
    cursor: pointer;
    accent-color: rgba(55, 177, 140, 0.8);
}

.suffix-option {
    display: flex;
    align-items: center;
    gap: 6px;
}

.suffix-input {
    width: 110px;
    padding: 5px 8px;
    border: 1px solid rgba(55, 177, 140, 0.3);
    border-radius: 5px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.9);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: "Yu Gothic UI", sans-serif;
}

.suffix-input:focus {
    border-color: rgba(55, 177, 140, 0.6);
    box-shadow: 0 0 0 2px rgba(55, 177, 140, 0.1);
}

.folder-input {
    display: flex;
    gap: 8px;
}

.folder-input input {
    flex: 1;
}

.folder-input button {
    padding: 8px 14px;
    background: rgba(55, 177, 140, 0.6);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
    transition: background 0.2s;
    font-family: "Yu Gothic UI", sans-serif;
}

.folder-input button:hover {
    background: rgba(55, 177, 140, 0.8);
}

.file-list {
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 4px;
}

.file-item {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(55, 177, 140, 0.12);
    transition: transform 0.2s, box-shadow 0.2s;
}

.file-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(55, 177, 140, 0.15);
}

.file-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-preview {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(55, 177, 140, 0.08);
    border: 1px solid rgba(55, 177, 140, 0.15);
}

.file-details {
    flex: 1;
}

.file-name {
    font-size: 14px;
    color: #2a2a2a;
    /* font-weight: 500; */
    margin-bottom: 4px;
    word-break: break-all;
    font-family: "Yu Gothic UI", sans-serif;
}

.file-size {
    font-size: 12px;
    color: #777;
    font-family: "Yu Gothic UI", sans-serif;
}

.file-size-compare {
    font-size: 12px;
    color: rgba(55, 177, 140, 0.9);
    /* font-weight: 500; */
    margin-top: 2px;
    font-family: "Yu Gothic UI", sans-serif;
}

.file-size-compare.larger {
    color: #d97f3e;
}

.file-status {
    font-size: 12px;
    color: #4a9d5f;
    /* font-weight: 500; */
    margin-right: 8px;
    font-family: "Yu Gothic UI", sans-serif;
}

.file-remove {
    padding: 5px 10px;
    background: rgba(200, 80, 80, 0.7);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
    font-family: "Yu Gothic UI", sans-serif;
}

.file-remove:hover {
    background: rgba(200, 80, 80, 0.85);
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    /* font-weight: 600; */
    cursor: pointer;
    transition: all 0.2s;
    font-family: "Yu Gothic UI", sans-serif;
}

.btn-primary {
    background: rgba(55, 177, 140, 0.8);
    color: white;
    box-shadow: 0 2px 6px rgba(55, 177, 140, 0.25);
}

.btn-primary:hover {
    background: rgba(55, 177, 140, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(55, 177, 140, 0.3);
}

.btn-primary:disabled {
    background: rgba(150, 150, 150, 0.6);
    cursor: not-allowed;
}

.btn-secondary {
    background: rgba(150, 150, 150, 0.65);
    color: white;
}

.btn-secondary:hover {
    background: rgba(150, 150, 150, 0.8);
    transform: translateY(-1px);
}

.progress-container {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(55, 177, 140, 0.2);
}

.progress-bar {
    width: 100%;
    height: 24px;
    background: rgba(220, 220, 220, 0.5);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid rgba(55, 177, 140, 0.15);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(55, 177, 140, 0.85), rgba(55, 177, 140, 0.95));
    transition: width 0.3s;
    width: 0;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: #2a2a2a;
    /* font-weight: 600; */
    font-family: "Yu Gothic UI", sans-serif;
}