:root {
    --primary-bg: #ffffff;
    --secondary-bg: #f8fafc;
    --panel-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --accent-gradient: linear-gradient(90deg, rgba(255, 248, 168, 1) 2%, rgba(255, 234, 0, 1) 46%, rgba(255, 248, 168, 1) 100%);
    --accent-solid: #ffea00;
    --accent-light: #fff8a8;
    
    --border-color: #e2e8f0;
    --border-focus: #cbd5e1;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08);
    --shadow-accent: 0 10px 25px -5px rgba(255, 234, 0, 0.4);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--secondary-bg);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-solid);
    color: #000;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.top-banner {
    background: var(--text-main);
    color: #fff;
    padding: 8px 16px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    background: var(--accent-gradient);
    color: var(--text-main);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight-link {
    color: var(--accent-light);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: var(--transition-fast);
}

.highlight-link:hover {
    color: var(--accent-solid);
}

.app-header {
    background-color: var(--primary-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(255, 234, 0, 0.3);
    animation: floatGlow 4s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    0% { transform: translateY(0); }
    100% { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(255, 234, 0, 0.5); }
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 4px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-main);
}

.main-container {
    flex: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-section {
    text-align: center;
    max-width: 850px;
    margin: 12px auto 0;
    padding: 0 16px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.highlight-box {
    background: var(--accent-gradient);
    padding: 2px 12px;
    border-radius: var(--radius-sm);
    display: inline-block;
    color: var(--text-main);
    transform: rotate(-0.5deg);
    box-shadow: var(--shadow-sm);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.workspace-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 992px) {
    .workspace-grid {
        grid-template-columns: 1fr;
    }
}

.panel {
    background: var(--panel-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.panel-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary-bg);
}

.panel-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-indicator {
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
}

.config-form {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.half-width {
    flex: 1;
}

@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
}

.section-label,
label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-label i,
label i {
    color: var(--text-muted);
}

.provider-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 4px;
}

.provider-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.provider-card {
    display: flex;
    flex-direction: column;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--primary-bg);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.provider-logo {
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.provider-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.provider-tag {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.provider-option input:checked + .provider-card {
    border-color: #eab308;
    background: var(--accent-light);
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.15);
}

.provider-option input:checked + .provider-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 20px solid #eab308;
    border-left: 20px solid transparent;
}

.provider-card:hover {
    border-color: var(--border-focus);
    background: var(--secondary-bg);
}

.api-key-wrapper {
    margin-top: 6px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 42px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
    background: var(--primary-bg);
}

.input-with-icon input:focus {
    border-color: #eab308;
    box-shadow: 0 0 0 3px rgba(255, 234, 0, 0.2);
}

.btn-icon {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
}

.btn-icon:hover {
    color: var(--text-main);
    background: var(--secondary-bg);
}

.api-help-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
    padding: 0 4px;
}

.help-link {
    color: var(--text-muted);
    text-decoration: underline;
}

.help-link:hover {
    color: var(--text-main);
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    width: 100%;
    padding: 12px 36px 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    background: var(--primary-bg);
    appearance: none;
    outline: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.select-wrapper select:focus {
    border-color: #eab308;
    box-shadow: 0 0 0 3px rgba(255, 234, 0, 0.2);
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.label-with-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-text-small {
    background: none;
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: #eab308;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-text-small:hover {
    text-decoration: underline;
    color: var(--text-main);
}

.textarea-container {
    position: relative;
}

textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    resize: vertical;
    outline: none;
    transition: var(--transition-fast);
    line-height: 1.5;
    background: var(--primary-bg);
}

textarea:focus {
    border-color: #eab308;
    box-shadow: 0 0 0 3px rgba(255, 234, 0, 0.2);
}

.char-counter {
    position: absolute;
    bottom: 12px;
    right: 14px;
    font-size: 0.7rem;
    color: var(--text-light);
    pointer-events: none;
    background: rgba(255, 255, 255, 0.85);
    padding: 0 4px;
    border-radius: 4px;
}

.btn-primary {
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    border: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gradient-bg {
    background: var(--accent-gradient);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-icon-right {
    transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-icon-right {
    transform: translateX(4px);
}

.btn-secondary {
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--secondary-bg);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    background: var(--border-color);
    color: var(--text-main);
}

.output-panel {
    min-height: 520px;
    position: relative;
    background: var(--primary-bg);
}

.panel-state {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    animation: fadeIn var(--transition-normal);
}

.panel-state.hidden {
    display: none;
}

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

#initialState {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 32px;
}

.empty-state-illustration {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.central-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    background: var(--accent-solid);
    filter: blur(35px);
    opacity: 0.3;
}

.massive-icon {
    font-size: 5rem;
    color: #cbd5e1;
    position: relative;
    z-index: 2;
}

.floating-badge {
    position: absolute;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 3;
    white-space: nowrap;
}

.badge-1 {
    top: 10px;
    left: -20px;
    animation: float1 5s ease-in-out infinite alternate;
}

.badge-2 {
    bottom: 20px;
    right: -30px;
    animation: float2 4s ease-in-out infinite alternate;
}

@keyframes float1 {
    from { transform: translateY(0px); }
    to { transform: translateY(-8px); }
}

@keyframes float2 {
    from { transform: translateY(0px); }
    to { transform: translateY(8px); }
}

#initialState h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

#initialState p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 360px;
}

#loadingState {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.loader-container {
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.custom-spinner {
    position: relative;
    width: 64px;
    height: 64px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid var(--secondary-bg);
    border-top-color: #eab308;
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

.spinner-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#loadingTitle {
    font-size: 1.2rem;
    font-weight: 600;
}

#loadingMessage {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.panel-header-compact {
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--secondary-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.state-badge {
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.warning-badge {
    background: #fef9c3;
    color: #854d0e;
    border: 1px solid #fde047;
}

.success-badge {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.questions-container {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    flex: 1;
}

.question-progress-header {
    margin-bottom: 4px;
}

.progress-count-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #eab308;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.question-box {
    background: var(--secondary-bg);
    border-left: 4px solid #eab308;
    padding: 12px 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.active-question-box {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    padding: 16px 20px;
    background: var(--accent-light);
    border-left: 5px solid #eab308;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.answers-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.questions-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.btn-finish-early {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    margin-top: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 6px;
}

.btn-finish-early:hover {
    color: var(--text-main);
    text-decoration: underline;
}

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

.btn-action-pill {
    background: var(--text-main);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-fast);
}

.btn-action-pill:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

.btn-action-pill-secondary {
    background: var(--primary-bg);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-fast);
}

.btn-action-pill-secondary:hover {
    background: var(--secondary-bg);
}

.result-content-area {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
    overflow-y: auto;
}

.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-tag {
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-tag span {
    color: var(--text-main);
    font-weight: 700;
}

.master-prompt-wrapper {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.prompt-header-bar {
    background: var(--secondary-bg);
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge-subtle {
    font-size: 0.65rem;
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-main);
}

.prompt-code-block {
    display: block;
    padding: 16px;
    background: var(--primary-bg);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-main);
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 340px;
    overflow-y: auto;
}

.usage-tips {
    background: var(--accent-light);
    border: 1px solid #fde047;
    padding: 14px;
    border-radius: var(--radius-md);
}

.usage-tips h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #854d0e;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.usage-tips p {
    font-size: 0.8rem;
    color: #713f12;
}

.usage-tips code {
    background: rgba(255, 255, 255, 0.7);
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 600;
}

.features-section {
    padding: 32px 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.section-title-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.section-title-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.highlight-text {
    background: var(--accent-gradient);
    padding: 0 6px;
    border-radius: 4px;
}

.section-title-wrapper p {
    color: var(--text-muted);
    font-size: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--primary-bg);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-focus);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #a16207;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.app-footer {
    background: var(--primary-bg);
    border-top: 1px solid var(--border-color);
    padding: 24px;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.portfolio-link {
    font-size: 0.9rem;
    color: var(--text-main);
}

.bold {
    font-weight: 700;
    text-decoration: none;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-fast);
}

.footer-social:hover {
    color: var(--text-main);
}

.divider {
    color: var(--border-focus);
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--text-main);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1000;
    animation: toastSlide 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.hidden {
    display: none;
}

.toast-icon {
    color: var(--accent-solid);
    font-size: 1.1rem;
}

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

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: var(--text-main);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner.hidden {
    display: none;
}
