
/* EchoStream Upload Module Styles */



.es-upload-page {

    max-width: 1000px;

    margin: 0 auto;

    padding: 24px;

}



.es-upload-header {

    text-align: center;

    margin-bottom: 32px;

}



.es-upload-header h1 {

    font-size: 28px;

    color: #fff;

    margin: 0 0 8px;

}



.es-upload-header h1 i {

    color: #10b981;

    margin-right: 12px;

}



.es-upload-header p {

    color: #888;

    font-size: 16px;

    margin: 0;

}



.es-login-prompt {

    text-align: center;

    padding: 60px 40px;

    background: #0a0a0a;

    border-radius: 16px;

    margin-bottom: 32px;

}



.es-login-prompt i {

    font-size: 64px;

    color: #333;

    margin-bottom: 16px;

}



.es-login-prompt h2 {

    color: #fff;

    margin: 0 0 8px;

}



.es-login-prompt p {

    color: #888;

    margin: 0 0 24px;

}



.es-btn-login {

    display: inline-block;

    background: linear-gradient(135deg, #10b981, #059669);

    color: #fff;

    padding: 14px 32px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 600;

}



.es-dropzone {

    border: 3px dashed #333;

    border-radius: 16px;

    padding: 60px 40px;

    text-align: center;

    transition: all 0.3s ease;

    cursor: pointer;

    background: #0a0a0a;

}



.es-dropzone:hover,

.es-dropzone.dragover {

    border-color: #10b981;

    background: rgba(16, 185, 129, 0.05);

}



.es-dropzone.dragover { transform: scale(1.01); }



.es-dropzone-icon {

    font-size: 72px;

    color: #333;

    margin-bottom: 24px;

    transition: color 0.3s;

}



.es-dropzone:hover .es-dropzone-icon,

.es-dropzone.dragover .es-dropzone-icon { color: #10b981; }



.es-dropzone h2 { color: #fff; font-size: 24px; margin: 0 0 8px; }

.es-dropzone p { color: #666; margin: 0 0 24px; }



.es-dropzone-formats {

    display: flex;

    justify-content: center;

    gap: 24px;

    margin-bottom: 24px;

    flex-wrap: wrap;

}



.es-dropzone-formats span { color: #888; font-size: 14px; }

.es-dropzone-formats i { margin-right: 6px; color: #10b981; }



.es-btn-select {

    background: linear-gradient(135deg, #10b981, #059669);

    color: #fff;

    border: none;

    padding: 14px 32px;

    border-radius: 8px;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s;

}



.es-btn-select:hover {

    transform: translateY(-2px);

    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);

}



.es-dropzone-limits {

    margin-top: 24px;

    display: flex;

    justify-content: center;

    gap: 24px;

    flex-wrap: wrap;

}



.es-dropzone-limits span { color: #555; font-size: 12px; }



.es-upload-queue {

    background: #0a0a0a;

    border-radius: 16px;

    padding: 24px;

}



.es-queue-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 24px;

    padding-bottom: 16px;

    border-bottom: 1px solid #222;

}



.es-queue-header h2 { color: #fff; font-size: 20px; margin: 0; }

.es-queue-header h2 i { margin-right: 10px; color: #10b981; }



.es-queue-actions { display: flex; gap: 12px; }



.es-btn-add {

    background: #252525;

    color: #fff;

    border: 1px solid #333;

    padding: 10px 20px;

    border-radius: 8px;

    cursor: pointer;

    font-size: 14px;

}



.es-btn-add:hover { background: #333; }



.es-btn-start {

    background: linear-gradient(135deg, #10b981, #059669);

    color: #fff;

    border: none;

    padding: 10px 24px;

    border-radius: 8px;

    cursor: pointer;

    font-size: 14px;

    font-weight: 600;

}



.es-btn-start:hover { box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4); }



.es-queue-item {

    background: #151515;

    border-radius: 12px;

    padding: 20px;

    margin-bottom: 16px;

    display: grid;

    grid-template-columns: 120px 1fr auto auto;

    gap: 20px;

    align-items: start;

}



.es-queue-item:last-child { margin-bottom: 0; }



.es-item-preview { width: 120px; height: 80px; }



.es-item-thumb {

    width: 100%;

    height: 100%;

    background: #252525;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 32px;

    color: #444;

    overflow: hidden;

}



.es-item-thumb img { width: 100%; height: 100%; object-fit: cover; }

.es-item-details { min-width: 0; }



.es-item-filename {

    color: #fff;

    font-size: 16px;

    font-weight: 600;

    margin-bottom: 4px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.es-item-size { color: #666; font-size: 13px; margin-bottom: 12px; }

.es-item-progress { margin-bottom: 8px; }



.es-progress-bar {

    height: 8px;

    background: #252525;

    border-radius: 4px;

    overflow: hidden;

    margin-bottom: 6px;

}



.es-progress-fill {

    height: 100%;

    background: linear-gradient(90deg, #10b981, #06d6a0);

    border-radius: 4px;

    transition: width 0.3s ease;

}



.es-progress-fill.processing {

    background: linear-gradient(90deg, #3b82f6, #60a5fa);

    animation: pulse 1.5s infinite;

}



@keyframes pulse {

    0%, 100% { opacity: 1; }

    50% { opacity: 0.6; }

}



.es-progress-info { display: flex; gap: 16px; font-size: 12px; color: #888; }

.es-progress-pct { color: #10b981; font-weight: 600; }

.es-item-status { font-size: 13px; }

.es-status-text { color: #888; }

.es-status-text.uploading { color: #10b981; }

.es-status-text.processing { color: #3b82f6; }

.es-status-text.complete { color: #10b981; }

.es-status-text.error { color: #ef4444; }



.es-item-meta { min-width: 200px; }



.es-meta-toggle {

    background: none;

    border: none;

    color: #888;

    cursor: pointer;

    font-size: 13px;

    padding: 4px 0;

}



.es-meta-toggle:hover { color: #fff; }

.es-meta-toggle i { margin-right: 6px; transition: transform 0.2s; }

.es-meta-toggle.open i { transform: rotate(180deg); }



.es-meta-form {

    margin-top: 12px;

    padding-top: 12px;

    border-top: 1px solid #252525;

}



.es-form-group { margin-bottom: 12px; }

.es-form-group label { display: block; color: #888; font-size: 12px; margin-bottom: 4px; }

.es-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }



.es-input, .es-textarea, .es-select {

    width: 100%;

    background: #0a0a0a;

    border: 1px solid #333;

    color: #fff;

    padding: 10px 12px;

    border-radius: 6px;

    font-size: 14px;

}



.es-input:focus, .es-textarea:focus, .es-select:focus {

    outline: none;

    border-color: #10b981;

}



.es-textarea { resize: vertical; min-height: 60px; }

.es-item-actions { display: flex; gap: 8px; }



.es-btn-action {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    border: none;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s;

}



.es-btn-pause { background: #f59e0b; color: #000; }

.es-btn-resume { background: #10b981; color: #000; }

.es-btn-remove { background: #333; color: #888; }

.es-btn-remove:hover { background: #ef4444; color: #fff; }



.es-revenue-banner {

    margin-top: 40px;

    padding: 24px;

    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));

    border: 1px solid rgba(16, 185, 129, 0.2);

    border-radius: 16px;

}



.es-revenue-compare {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    text-align: center;

}



.es-revenue-item { display: flex; flex-direction: column; gap: 4px; }

.es-revenue-platform { color: #888; font-size: 14px; }

.es-revenue-pct { font-size: 36px; font-weight: 700; }

.es-revenue-them .es-revenue-pct { color: #666; }

.es-revenue-us .es-revenue-pct { color: #10b981; }

.es-revenue-note { color: #555; font-size: 12px; }

.es-revenue-us .es-revenue-note { color: #10b981; }



@media (max-width: 768px) {

    .es-queue-item { grid-template-columns: 1fr; }

    .es-item-preview { width: 100%; height: 160px; }

    .es-revenue-compare { grid-template-columns: 1fr; }

    .es-form-row { grid-template-columns: 1fr; }

}




/* Validation States */

.es-queue-item.incomplete {

    border-left: 3px solid #f59e0b;

}

.es-queue-item.complete {

    border-left: 3px solid var(--nw-accent, #10b981);

}

.es-queue-item.incomplete .es-status-text::before {

    content: "⚠ Complete details";

    color: #f59e0b;

}

.es-queue-item.complete .es-status-text::before {

    content: "✓ Ready to upload";

    color: var(--nw-accent, #10b981);

}

.es-queue-item .es-status-text {

    display: none;

}



/* Disabled button state */

.es-btn-start.disabled {

    opacity: 0.6;

    cursor: not-allowed;

    background: var(--bg-tertiary) !important;

}



/* Notification toast */

.es-notification {

    position: fixed;

    top: 80px;

    right: 20px;

    padding: 16px 24px;

    background: var(--bg-secondary);

    border: 1px solid var(--border-color);

    border-radius: 8px;

    box-shadow: 0 8px 24px rgba(0,0,0,0.3);

    z-index: 9999;

    display: flex;

    align-items: center;

    gap: 12px;

    transform: translateX(120%);

    transition: transform 0.3s ease;

    color: var(--text-primary);

}

.es-notification.show {

    transform: translateX(0);

}

.es-notification.warning {

    border-color: #f59e0b;

}

.es-notification.warning i {

    color: #f59e0b;

}

.es-notification.error {

    border-color: #ef4444;

}

.es-notification.error i {

    color: #ef4444;

}

.es-notification.success {

    border-color: var(--nw-accent, #10b981);

}

.es-notification.success i {

    color: var(--nw-accent, #10b981);

}

