/* FileDrop custom styles */

/* Drag-and-drop upload zone */
.filedrop-zone {
    border: 2px dashed #adb5bd;
    border-radius: 0.5rem;
    padding: 3rem;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    background-color: #f8f9fa;
}

.filedrop-zone.dragover {
    border-color: #5e72e4;
    background-color: rgba(94, 114, 228, 0.05);
}

.filedrop-zone .upload-icon {
    font-size: 3rem;
    color: #adb5bd;
    margin-bottom: 1rem;
}

.filedrop-zone.dragover .upload-icon {
    color: #5e72e4;
}

/* File list */
.file-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.file-list-item:last-child {
    border-bottom: none;
}

.file-list-item .file-name {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60%;
}

.file-list-item .file-size {
    color: #67748e;
    font-size: 0.875rem;
}

.file-list-item .file-remove {
    color: #f5365c;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 1.2rem;
    padding: 0 0.25rem;
}

/* Upload progress */
.upload-progress {
    margin-top: 1rem;
}

.upload-progress .progress {
    height: 0.5rem;
    border-radius: 0.25rem;
}

/* Max size notice */
.max-size-notice {
    color: #67748e;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Status badges */
.badge-prepared {
    background-color: #5e72e4;
}

.badge-active {
    background-color: #11cdef;
}

.badge-uploaded {
    background-color: #2dce89;
}

.badge-expired {
    background-color: #8898aa;
}

.badge-deleted {
    background-color: #f5365c;
}

.badge-limit-reached {
    background-color: #fb6340;
}

/* Copy button */
.copy-btn {
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.copy-btn.copied {
    color: #2dce89;
}

/* Password display (one-time) */
.secret-display {
    background-color: #f6f9fc;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    font-family: monospace;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.secret-display .value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

/* Public page centering */
.public-container {
    max-width: 540px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.public-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.public-brand h2 {
    font-weight: 700;
    color: #344767;
}

/* Dark mode overrides */
body.dark-mode .filedrop-zone {
    background-color: #1a1a2e;
    border-color: #3a3a5e;
}

body.dark-mode .filedrop-zone.dragover {
    border-color: #5e72e4;
    background-color: rgba(94, 114, 228, 0.1);
}

body.dark-mode .secret-display {
    background-color: #1a1a2e;
    border-color: #3a3a5e;
    color: #e2e8f0;
}

body.dark-mode .file-list-item {
    border-bottom-color: #3a3a5e;
}
