/* Transfer Dialog Styles */
.transfer-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.transfer-dialog {
    background: white;
    width: 600px;
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.transfer-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.transfer-header h3 {
    margin: 0;
    font-size: 18px;
}

.transfer-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.transfer-body {
    padding: 20px;
    overflow-y: auto;
}

.transfer-section {
    margin-bottom: 20px;
}

.transfer-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.source-file-input {
    background: #e3f2fd;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #bbdefb;
    color: #1565c0;
    font-family: monospace;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    outline: none;
}

.source-file-input:focus {
    border-color: #1877f2;
    background: #fff;
}

.storage-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.folder-list {
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
}

.folder-list li {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.folder-list li .folder-info {
    display: flex;
    flex-direction: column;
}

.folder-list li .mission-name {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.folder-list li .folder-name {
    color: #888;
    font-size: 12px;
}

.folder-list li:hover {
    background-color: #f5f5f5;
}

.folder-list li.active {
    background-color: #007bff;
    color: white;
}

.folder-list li.active .mission-name,
.folder-list li.active .folder-name {
    color: white;
}

.folder-icon {
    margin-right: 12px;
    font-size: 20px;
    /* Increased size */
}

.transfer-actions {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-transfer {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-transfer:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.btn-select-storage {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-refresh-storage {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.btn-refresh-storage:hover {
    background-color: #e2e6ea;
}