/* static/css/dump.css */

.dump-screen {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Use the same background logic as the landing page / body */
    background: transparent; 
    padding: var(--spacing-2xl) var(--spacing-md);
    position: relative;
}

/* Subtle radial glow for premium feel */
.dump-screen::before {
    content: '';
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(18, 18, 18, 0.02) 0%, rgba(250, 248, 245, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.dump-container {
    width: min(100%, 680px);
    margin-inline: auto;
    background: var(--bg-secondary);
    border-radius: 24px; /* Larger border radius */
    padding: var(--spacing-4xl); /* Increased padding */
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02); /* Softer, premium shadow */
    border: var(--border-subtle);
    position: relative;
    /* Fade in and slight translate Y on load */
    animation: fade-in-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dump-container:hover {
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .dump-container {
        padding: var(--spacing-2xl) var(--spacing-xl);
    }
}

.dump-view {
    transition: opacity 0.25s ease, transform 0.25s ease;
    opacity: 1;
    transform: translateY(0);
}

.dump-view.hidden-transition {
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    position: absolute;
    top: 0; left: 0; right: 0;
    visibility: hidden;
}

/* Typography & Hero */
.dump-logo {
    margin: 0 auto var(--spacing-xl);
    width: 56px; 
    height: 56px;
    font-size: 24px;
    outline: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dump-logo:hover, .dump-logo:focus-visible {
    transform: scale(1.05);
}
.dump-hero {
    margin-bottom: var(--spacing-2xl);
}
.dump-title {
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.03em;
    font-weight: 600;
}
.dump-subtitle {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.125rem;
}

/* Textarea */
.dump-input-container {
    margin-bottom: var(--spacing-2xl);
}
.dump-textarea {
    width: 100%;
    height: 220px;
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    line-height: 1.6;
    padding: var(--spacing-xl);
    border: 1px solid rgba(18, 18, 18, 0.08); /* Soft border */
    border-radius: var(--radius-lg);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    resize: none;
    outline: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.dump-textarea:focus {
    background: var(--bg-secondary);
    border-color: rgba(18, 18, 18, 0.15);
    /* Premium focus state */
    box-shadow: 0 0 0 4px rgba(18, 18, 18, 0.04);
}
.dump-textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
    font-size: 1rem;
    line-height: 1.7;
}

/* Character Counter */
.dump-char-count {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
    margin-top: var(--spacing-xs);
    font-weight: 500;
}

/* Action Button */
.dump-actions {
    margin-bottom: var(--spacing-lg);
}
.dump-btn {
    width: 100%; /* Full width */
    height: 52px;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: #111;
    color: #fff;
    border: none;
}
@keyframes dump-pulse {
    0% { box-shadow: 0 4px 12px rgba(17, 17, 17, 0.15); }
    50% { box-shadow: 0 8px 24px rgba(17, 17, 17, 0.25); }
    100% { box-shadow: 0 4px 12px rgba(17, 17, 17, 0.15); }
}
.dump-btn:not(:disabled) {
    animation: dump-pulse 3s infinite ease-in-out;
}
.dump-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.3) !important;
    animation: none;
}
.dump-btn:not(:disabled):active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.2) !important;
}
.dump-btn:disabled {
    opacity: 0.4;
    transform: none;
    box-shadow: none;
    background: rgba(17, 17, 17, 0.1);
    color: rgba(17, 17, 17, 0.5);
}

/* Trust Message */
.dump-trust-text {
    color: var(--text-secondary);
    opacity: 0.7;
    font-size: 0.875rem;
}

/* Confirmation View */
#dump-confirmation-view {
    padding: var(--spacing-xl) 0;
}
.dump-success-icon {
    margin-bottom: var(--spacing-xl);
}
.dump-confirm-title {
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}
.dump-confirm-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-3xl);
}
.dump-confirm-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}
.dump-save-btn {
    width: 100%;
    height: 52px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}
