/* DocFlow — Global Styles */
[x-cloak] { display: none !important; }

/* Upload zone */
.upload-zone {
    border: 2px dashed #d1d5db;
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    background: #fff;
}
.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--tool-color, #3b82f6);
    background-color: var(--tool-color-light, #eff6ff);
    transform: scale(1.01);
}

/* Spinner */
.spinner {
    border: 3px solid #e5e7eb;
    border-top: 3px solid var(--tool-color, #3b82f6);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Tool card (landing grid) */
.tool-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.tool-card:hover {
    border-color: var(--tool-color, #3b82f6);
    box-shadow: 0 8px 30px -6px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}
.tool-card .tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.375rem;
}
.tool-card .tool-icon svg {
    width: 28px;
    height: 28px;
}
.tool-card h3 {
    font-size: 0.9375rem;
    line-height: 1.3;
}
.tool-card p {
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* Tool header band icon */
.tool-header-icon svg {
    width: 36px;
    height: 36px;
}

/* Dashboard quick-action icons */
.quick-action-icon svg {
    width: 22px;
    height: 22px;
}

/* Category header */
.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.category-header::before {
    content: '';
    width: 4px;
    height: 24px;
    border-radius: 2px;
    background: var(--cat-color);
}

/* Feature check list (pricing) */
.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
}
.feature-list li::before {
    content: '';
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2322c55e'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") no-repeat center;
    flex-shrink: 0;
}

/* Smooth transitions */
a, button { transition: all 0.15s ease; }

/* Hero pattern background */
.hero-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
