/* youTRANSFER (iutransfer.com) - Custom High-End Styling */

:root {
    --primary: #d6374f;
    --primary-hover: #b82b40;
    --primary-glow: rgba(214, 55, 79, 0.35);
    --accent: #d6374f;
    --dark: #0f172a;
    --slate: #334155;
    --muted: #64748b;
    --border: #e2e8f0;
    --card-bg: rgba(255, 255, 255, 0.96);
    --card-radius: 28px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #090d16;
    background-image: 
        radial-gradient(at 10% 20%, rgba(214, 55, 79, 0.25) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(16, 185, 129, 0.2) 0px, transparent 50%),
        url('https://images.unsplash.com/photo-1519681393784-d120267933ba?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.35) 0%, rgba(9, 13, 22, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

.app-container {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
    gap: 20px;
}

/* Main Card */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--card-radius);
    box-shadow: 0 35px 80px -20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
    overflow: hidden;
    transition: var(--transition);
}

.transfer-card {
    width: 100%;
    max-width: 540px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    animation: cardAppear 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.transfer-card.expanded {
    max-width: 860px;
}

@keyframes cardAppear {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Card Header */
.card-header {
    padding: 24px 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.6);
}

.brand-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    letter-spacing: -0.8px;
    user-select: none;
    display: flex;
    align-items: baseline;
    gap: 1px;
}

.logo-you {
    font-weight: 800;
    color: var(--primary);
    background: linear-gradient(135deg, #d6374f 0%, #ff6b81 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-transfer {
    font-weight: 900;
    color: var(--dark);
    letter-spacing: 0.5px;
}

.brand-domain-pill {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    background: #f1f5f9;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.2px;
}

/* View State Switcher */
.view-state {
    display: none;
    flex: 1;
    flex-direction: column;
}

.view-state.active {
    display: flex;
}

/* VIEW 1: Initial State */
.drop-zone {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 32px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.drop-zone.drag-over {
    background-color: rgba(214, 55, 79, 0.08);
}

.upload-glow-wrap {
    position: relative;
    margin-bottom: 26px;
}

.btn-circle-add {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d6374f 0%, #b82b40 100%);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 30px var(--primary-glow);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.btn-circle-add:hover {
    transform: scale(1.08) rotate(90deg);
    box-shadow: 0 16px 40px rgba(214, 55, 79, 0.45);
}

.drop-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.drop-subtitle {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 24px;
}

.upload-badges-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.chip {
    font-size: 12px;
    font-weight: 600;
    color: var(--slate);
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 20px;
}

.card-footer-simple {
    padding: 16px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: #fafafa;
}

.privacy-note {
    font-size: 12px;
    color: var(--muted);
}

/* VIEW 2: Options & Form (Two Columns) */
.two-columns-layout {
    display: flex;
    flex: 1;
    min-height: 520px;
}

.col-files {
    flex: 1;
    background-color: #f8fafc;
    border-right: 1px solid var(--border);
    padding: 26px;
    display: flex;
    flex-direction: column;
}

.files-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--slate);
}

.files-total-size {
    color: var(--primary);
    font-weight: 600;
}

.files-list {
    flex: 1;
    overflow-y: auto;
    max-height: 310px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.file-item-queued {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.file-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.file-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff1f2;
    border: 1px solid rgba(214, 55, 79, 0.2);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
    padding: 6px 10px;
    min-width: 38px;
}

.file-item-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.file-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.file-item-size {
    font-size: 12px;
    color: var(--muted);
}

.btn-remove-file {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-remove-file:hover {
    color: #ef4444;
    background-color: #fee2e2;
}

.files-add-more {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.btn-circle-add-sm {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.add-more-text {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.add-more-text strong {
    color: var(--dark);
}

.add-more-text span {
    color: var(--muted);
}

/* Right Column: Details */
.col-form {
    flex: 1.15;
    padding: 26px 30px;
    display: flex;
    flex-direction: column;
}

.form-section-title {
    margin-bottom: 20px;
}

.form-section-title h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.form-section-title p {
    font-size: 13px;
    color: var(--muted);
}

.field-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 6px;
}

.input-group {
    margin-bottom: 14px;
}

.field-hint {
    display: block;
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 5px;
    line-height: 1.4;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background-color: #ffffff;
    color: var(--dark);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-textarea {
    resize: none;
}

/* Fixed Retention Badge */
.retention-badge-fixed {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 11px 16px;
    border-radius: 12px;
    font-size: 13px;
    color: var(--slate);
    margin: 8px 0 20px 0;
}

.retention-badge-fixed .retention-icon {
    font-size: 17px;
}

.retention-badge-fixed strong {
    color: var(--primary);
}

/* Modal Security OTP Verification */
.modal-verify {
    max-width: 440px;
    text-align: center;
}

.otp-input-wrap {
    margin: 20px 0 14px 0;
}

.otp-input {
    width: 230px;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 8px;
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
    color: var(--primary);
    transition: var(--transition);
}

.otp-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.otp-status-msg {
    font-size: 13px;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 8px;
}

.otp-status-msg.error {
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
}

.otp-status-msg.success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.modal-buttons-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.otp-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding: 0 4px;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px 6px;
}

.btn-link:hover {
    color: var(--primary-hover);
}

.btn-link.text-muted {
    color: var(--muted);
    text-decoration: none;
}

.btn-link.text-muted:hover {
    color: var(--dark);
    text-decoration: underline;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, #d6374f 0%, #b82b40 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 6px 18px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(214, 55, 79, 0.45);
}

.btn-transfer {
    width: 100%;
}

.btn-secondary {
    background-color: #f1f5f9;
    color: var(--dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

/* VIEW 3: Progress State */
.progress-box {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.progress-spinner-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 6px solid #e2e8f0;
    border-top-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: spin 1.2s infinite linear;
}

.progress-percentage-text {
    font-size: 24px;
    font-weight: 900;
    color: var(--dark);
    animation: counter-spin 1.2s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes counter-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.progress-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.progress-filename {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 24px;
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-bar-track {
    width: 100%;
    max-width: 380px;
    height: 10px;
    background-color: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d6374f, #ff6b81);
    transition: width 0.15s ease-out;
}

.progress-meta {
    width: 100%;
    max-width: 380px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 16px;
    animation: fadeIn 0.2s ease-out;
}

.modal-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 32px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.modal-icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff1f2;
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
}

.modal-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.modal-card p {
    font-size: 14px;
    color: var(--slate);
    line-height: 1.5;
    margin-bottom: 24px;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* SwissTransfer-Style Welcome Modal */
.welcome-modal-card {
    max-width: 480px;
    padding: 0;
    overflow: hidden;
    text-align: left;
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
    background: #ffffff;
}

.welcome-header {
    padding: 24px 30px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.welcome-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.welcome-logo {
    font-size: 24px;
    letter-spacing: -0.5px;
}

.welcome-body {
    padding: 26px 30px;
}

.welcome-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.welcome-features-list.extra-list {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}

.welcome-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.check-circle-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.welcome-feature-label {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.btn-toggle-features {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    padding: 4px 0;
    transition: var(--transition);
}

.btn-toggle-features:hover {
    color: var(--primary-hover);
}

.btn-toggle-features svg {
    transition: transform 0.25s ease;
}

.btn-toggle-features.open svg {
    transform: rotate(180deg);
}

.welcome-footer {
    padding: 20px 30px 26px;
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.welcome-consent-text {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.45;
}

.link-btn-text {
    background: none;
    border: none;
    color: var(--primary);
    text-decoration: underline;
    font-size: inherit;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.link-btn-text:hover {
    color: var(--primary-hover);
}

.btn-accept-welcome {
    width: 100%;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-accept-welcome:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

/* Privacy Modal */
.privacy-modal-card {
    max-width: 580px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    text-align: left;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
}

.privacy-modal-header {
    padding: 22px 28px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.privacy-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 26px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--dark);
}

.privacy-modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.privacy-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.privacy-section p {
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 6px 0;
}

.privacy-section a {
    color: #d6374f;
    text-decoration: underline;
}

.privacy-modal-footer {
    padding: 16px 28px 20px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    text-align: right;
}

.footer-link-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.85;
    padding: 0 2px;
    transition: var(--transition);
}

.footer-link-btn:hover {
    opacity: 1;
    color: #ffffff;
}

/* VIEW 5: Completed State */
.completed-box {
    padding: 50px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-check-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #fff1f2;
    color: var(--primary);
    font-size: 32px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px var(--primary-glow);
}

.completed-box h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.completed-box p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 24px;
    max-width: 440px;
    line-height: 1.5;
}

.clean-link-container {
    width: 100%;
    max-width: 480px;
    margin-bottom: 28px;
    text-align: left;
}

.clean-link-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 6px;
}

.copy-link-box {
    display: flex;
    gap: 8px;
}

.link-input {
    flex: 1;
    padding: 13px 16px;
    font-size: 15px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background-color: #f8fafc;
    color: var(--primary);
    font-weight: 700;
    font-family: monospace;
}

.btn-copy {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-copy:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

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

/* DOWNLOAD PAGE STYLES */
.download-page {
    display: flex;
    flex-direction: column;
}

.site-header {
    position: relative;
    z-index: 10;
    padding: 24px 32px;
}

.logo {
    text-decoration: none;
    font-size: 28px;
}

.main-container {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 20px 16px 40px 16px;
}

.download-card {
    width: 100%;
    max-width: 720px;
    padding: 40px;
}

.download-header {
    text-align: center;
    margin-bottom: 28px;
}

.expiry-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: #fef3c7;
    color: #92400e;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 16px;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d97706;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.25);
}

.transfer-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.transfer-message {
    background: #f8fafc;
    border-left: 4px solid var(--primary);
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--slate);
    text-align: left;
    margin: 18px 0;
}

.transfer-summary {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

.video-preview-box {
    margin-bottom: 28px;
    border-radius: 18px;
    overflow: hidden;
    background-color: #000000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.video-header {
    background: rgba(15, 23, 42, 0.9);
    color: #ffffff;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stream-video {
    width: 100%;
    max-height: 440px;
    display: block;
    background: #000000;
}

.files-download-list h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--slate);
    margin-bottom: 14px;
}

.file-item-download {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    transition: var(--transition);
}

.file-item-download:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.file-info-col {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
}

.file-icon-square {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: #fff1f2;
    border: 1px solid rgba(214, 55, 79, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.file-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.file-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 380px;
}

.file-meta {
    font-size: 13px;
    color: var(--muted);
}

.btn-download-single {
    background-color: #f1f5f9;
    color: var(--dark);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-download-single:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.bulk-download-section {
    margin-top: 24px;
}

.btn-block {
    width: 100%;
}

.site-footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 18px 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.site-footer a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.site-footer a:hover {
    opacity: 0.8;
}

.error-box {
    text-align: center;
    padding: 40px 20px;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.error-box h2 {
    font-size: 22px;
    font-weight: 800;
    color: #b91c1c;
    margin-bottom: 8px;
}

.error-box p {
    color: var(--muted);
    margin-bottom: 24px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Enterprise Features Showcase */
.features-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
    width: 100%;
    max-width: 540px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 20px 28px;
    box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.4s ease-out;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 2px 0;
}

.feature-icon-wrap {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(214, 55, 79, 0.12);
    border: 1px solid rgba(214, 55, 79, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d6374f;
    flex-shrink: 0;
}

.feature-icon-wrap svg {
    display: block;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
    line-height: 1.25;
}

.feature-desc {
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.25;
}

/* Responsive Mobile */
@media (max-width: 560px) {
    .features-showcase {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px 20px;
    }
}
@media (max-width: 768px) {
    .transfer-card.expanded {
        max-width: 100%;
    }

    .two-columns-layout {
        flex-direction: column;
    }

    .col-files {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .file-name {
        max-width: 180px;
    }

    .completed-actions {
        flex-direction: column;
        width: 100%;
    }

    .completed-actions .btn-primary,
    .completed-actions .btn-secondary {
        width: 100%;
    }
}

.btn-copy-pill:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

/* Retention Pills Selector */
.retention-selector-group {
    margin-top: 14px;
    margin-bottom: 8px;
}
.retention-pills-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.pill-btn {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    color: #334155;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.pill-btn:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1d4ed8;
}
.pill-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}
.pill-btn small {
    font-size: 10.5px;
    opacity: 0.85;
}

/* CC & CCN Toggle and Box */
.btn-toggle-cc {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.2s;
}
.btn-toggle-cc:hover {
    background: rgba(37, 99, 235, 0.08);
    text-decoration: underline;
}
.cc-fields-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 12px;
    margin: 8px 0 14px;
    animation: fadeIn 0.2s ease;
}

/* Header Account Pill */
.nav-account-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 12px;
}
.nav-account-pill:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}
