/* Button Styles */
.btn-crop-photo-submit {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    background: #4F46E5;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.25);
    transition: all 0.2s ease;
    margin-top: 4px;
}

.btn-crop-photo-submit:hover {
    transform: translateY(-2px);
    background: #4338CA;
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.35);
}

.bottom-action-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.btn-stack-purple {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-pill);
    border: none;
    background: #4F46E5;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.25);
}

.btn-stack-purple:hover {
    background: #4338CA;
}

.btn-stack-purple.bg-done-state {
    background: #D1FAE5;
    color: #059669;
    border: 2px solid #6EE7B7;
    cursor: default;
    opacity: 0.85;
    pointer-events: none;
}

.btn-stack-purple.bg-action-state {
    background: linear-gradient(135deg, #7C3AED, #4F46E5);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    animation: pulse-bg-btn 2s infinite;
}

.btn-stack-purple.bg-action-state:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@keyframes pulse-bg-btn {
    0%, 100% { 
        box-shadow: 0 4px 20px rgba(79,70,229,0.3); 
    }
    50% { 
        box-shadow: 0 8px 32px rgba(79,70,229,0.55); 
    }
}

.btn-stack-dark-pro {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    background: #0F172A;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15);
}

.badge-yellow-pro {
    background: #F59E0B;
    color: #0F172A;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.btn-stack-green-queue {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    background: #10B981;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
    transition: all 0.2s ease;
}

.btn-stack-green-queue:hover {
    transform: translateY(-2px);
    background: #059669;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
}

.btn-stack-download-single {
    width: 100%;
    padding: 12px 20px;
    border-radius: 12px;
    border: 2px solid #E2E8F0;
    background: #FFFFFF;
    color: #475569;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-stack-download-single:hover {
    border-color: #4F46E5;
    color: #4F46E5;
    background: #F8FAFC;
}

/* Back to Editor Button */
.btn-back-to-editor {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 9999px;
    background: rgba(79, 70, 229, 0.08);
    color: #4F46E5;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(79, 70, 229, 0.15);
    user-select: none;
}

.btn-back-to-editor:hover {
    background: rgba(79, 70, 229, 0.14);
    border-color: rgba(79, 70, 229, 0.3);
    transform: translateX(-3px);
    box-shadow: 0 2px 12px rgba(79, 70, 229, 0.12);
}

.btn-back-to-editor i {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.btn-back-to-editor:hover i {
    transform: translateX(-2px);
}
