/* Custom styles for SecureDataShare */

/* File drop zone active state */
.file-drop-zone.drag-over {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.1);
}

/* File list item */
.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: rgba(51, 65, 85, 0.5);
    border-radius: 0.5rem;
    border: 1px solid rgba(71, 85, 105, 0.5);
}

.file-item .file-name {
    color: #e2e8f0;
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70%;
}

.file-item .file-size {
    color: #94a3b8;
    font-size: 0.75rem;
}

.file-item .remove-btn {
    color: #ef4444;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
}

.file-item .remove-btn:hover {
    color: #f87171;
}

/* Status messages */
.status-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.status-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

/* Smooth scrollbar for file list */
#fileList {
    max-height: 200px;
    overflow-y: auto;
}

#fileList::-webkit-scrollbar {
    width: 6px;
}

#fileList::-webkit-scrollbar-track {
    background: rgba(51, 65, 85, 0.3);
    border-radius: 3px;
}

#fileList::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.5);
    border-radius: 3px;
}

#fileList::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.7);
}
