/* Drag & Drop Zone Feedback */
.drop-zone {
    background: #1a1a1a;
    border: 2px dashed #444;
    border-radius: 4px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}
.drop-zone.dragover {
    border-color: #6cf;
    background: #1a2a3a;
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.2);
}
.drop-zone.drag-invalid {
    border-color: #f66;
    background: #3a1a1a;
    box-shadow: 0 0 20px rgba(255, 102, 102, 0.2);
}
.drop-zone-text {
    color: #999;
    margin: 10px 0;
    font-size: 14px;
}
.drop-zone.dragover .drop-zone-text {
    color: #6cf;
}
.validation-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 3px;
    font-size: 13px;
}
.validation-error {
    background: rgba(255, 102, 102, 0.1);
    color: #f99;
    border: 1px solid rgba(255, 102, 102, 0.3);
}
.validation-warning {
    background: rgba(255, 204, 102, 0.1);
    color: #fc9;
    border: 1px solid rgba(255, 204, 102, 0.3);
}
.validation-success {
    background: rgba(102, 255, 153, 0.1);
    color: #9f9;
    border: 1px solid rgba(102, 255, 153, 0.3);
}
.progress-container {
    width: 100%;
    margin-top: 15px;
    display: none;
}
.progress-container.active {
    display: block;
}
.progress-bar-bg {
    background: #222;
    border: 1px solid #333;
    border-radius: 3px;
    height: 25px;
    overflow: hidden;
    position: relative;
}
.progress-bar-fill {
    background: linear-gradient(90deg, #1a5c9c, #2a8cac, #1a5c9c);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}
.progress-text {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
}
.progress-percent {
    color: #6cf;
    font-weight: bold;
}
.file-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}
.file-type-image::before { content: "🖼️"; }
.file-type-video::before { content: "🎬"; }
.file-type-audio::before { content: "🎵"; }
.file-type-document::before { content: "📄"; }
.file-type-archive::before { content: "📦"; }
.file-type-code::before { content: "💻"; }
.file-type-other::before { content: "📎"; }
.copy-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid #444;
    color: #6cf;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 11px;
    border-radius: 2px;
    transition: all 0.2s;
}
.copy-btn:hover {
    border-color: #6cf;
    background: rgba(102, 204, 255, 0.1);
}
.copy-btn.copied {
    background: rgba(102, 255, 153, 0.2);
    border-color: #6f9;
    color: #6f9;
}
.file-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 3px;
    margin: 5px 0;
    font-size: 13px;
}
.file-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 20px;
}
.file-item-name {
    flex: 1;
    color: #ccc;
    word-break: break-all;
}
.file-item-size {
    color: #999;
    font-size: 12px;
    margin: 0 10px;
}
.file-item-actions {
    display: flex;
    gap: 5px;
}
@media (max-width: 768px) {
    .drop-zone {
        padding: 25px;
    }
    .file-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .file-item-icon {
        margin-right: 0;
        margin-bottom: 8px;
    }
    .file-item-actions {
        width: 100%;
        margin-top: 8px;
    }
    .progress-text {
        flex-direction: column;
        gap: 5px;
    }
}
@media (hover: none) and (pointer: coarse) {
    button, .btn, .copy-btn {
        padding: 12px 16px;
        font-size: 16px;
        min-height: 44px;
    }
    input[type="file"],
    input[type="text"],
    input[type="password"],
    input[type="search"] {
        padding: 12px;
        font-size: 16px;
        min-height: 44px;
    }
}
.spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #444;
    border-top-color: #6cf;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.pwa-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1a3a5c;
    border: 1px solid #2a5a8c;
    color: #6cf;
    padding: 10px 15px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 1000;
}
.pwa-badge:hover {
    background: #2a5a8c;
    box-shadow: 0 0 10px rgba(102, 204, 255, 0.2);
}
