
body {
    background-color: #f1f5f9;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding-bottom: 50px;
}

.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 14px 24px;
}

.navbar-brand {
    font-weight: 700;
    color: #2a5cff !important;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-link-custom {
    font-weight: 500;
    color: #475569 !important;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
}

    .nav-link-custom:hover, .nav-link-custom.active {
        color: #2a5cff !important;
        background-color: #f0f5ff;
    }

.app-container {
    max-width: 1440px;
    margin: 30px auto;
    padding: 0 20px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 14px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid #e9eef3;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .stat-card .number {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.2;
    }

    .stat-card .label {
        font-size: 13px;
        color: #64748b;
    }

    .stat-card .icon-circle {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }

.bg-soft-blue {
    background-color: #e8edff;
    color: #2a5cff;
}

.bg-soft-green {
    background-color: #dcfce7;
    color: #22c55e;
}

.bg-soft-yellow {
    background-color: #fef3c7;
    color: #b45309;
}

.input-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e9eef3;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

    .input-card .card-title {
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 16px;
        color: #0f172a;
    }

        .input-card .card-title i {
            margin-right: 8px;
            color: #2a5cff;
        }

#hiddenFileInput {
    display: none;
}

.dropzone {
    background-color: #fafcff;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 28px 16px;
    text-align: center;
    transition: all 0.25s ease;
    cursor: pointer;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .dropzone:hover {
        border-color: #2a5cff;
        background-color: #f0f5ff;
    }

    .dropzone .cloud-icon {
        font-size: 32px;
        color: #94a3b8;
        margin-bottom: 6px;
    }

    .dropzone .main-text {
        font-weight: 500;
        color: #1e293b;
    }

    .dropzone .sub-text {
        color: #94a3b8;
        font-size: 13px;
    }

    .dropzone .hint {
        margin-top: 8px;
        font-size: 12px;
        color: #b0bec5;
    }

.thumb-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 4px 16px 4px;
    flex-wrap: nowrap;
    min-height: 96px;
    border: 1px solid #f1f5f9;
    background-color: #fcfdfe;
    border-radius: 8px;
}

.thumb-item {
    position: relative;
    flex: 0 0 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e9eef3;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .thumb-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .thumb-item .remove-btn {
        position: absolute;
        top: 2px;
        right: 2px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: rgba(239, 68, 68, 0.9);
        color: white;
        border: none;
        font-size: 11px;
        line-height: 18px;
        text-align: center;
        padding: 0;
        cursor: pointer;
        font-weight: bold;
        z-index: 10;
    }

.field-tag {
    background: #e8edff;
    color: #1e40af;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 6px 4px 0;
}

    .field-tag .remove-field {
        cursor: pointer;
        color: #64748b;
        font-size: 14px;
    }

        .field-tag .remove-field:hover {
            color: #ef4444;
        }

.field-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

    .field-input-group input {
        flex: 1;
        border-radius: 30px;
        border: 1px solid #e2e8f0;
        padding: 8px 18px;
        font-size: 14px;
    }

        .field-input-group input:focus {
            border-color: #2a5cff;
            box-shadow: 0 0 0 3px rgba(42,92,255,0.1);
        }

    .field-input-group .btn-add-field {
        background: #2a5cff;
        color: white;
        border: none;
        border-radius: 30px;
        padding: 8px 24px;
        font-weight: 500;
    }

        .field-input-group .btn-add-field:hover {
            background: #1a4ad9;
            color: white;
        }

.table-container {
    background: white;
    border-radius: 12px;
    border: 1px solid #e9eef3;
    overflow: auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    margin-top: 16px;
    max-height: 500px;
}

    .table-container table {
        margin-bottom: 0;
        min-width: 800px;
    }

    .table-container th {
        background: #f8fafc;
        font-weight: 600;
        font-size: 13px;
        color: #475569;
        border-bottom: 1px solid #e9eef3;
        padding: 12px 16px;
        white-space: nowrap;
    }

    .table-container td {
        padding: 12px 16px;
        vertical-align: middle;
        border-bottom: 1px solid #f1f5f9;
    }

.preview-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    background: #e9eef3;
}

.status-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 30px;
    font-weight: 500;
    white-space: nowrap;
}

    .status-badge.done {
        background: #dcfce7;
        color: #15803d;
    }

    .status-badge.processing {
        background: #fef3c7;
        color: #b45309;
    }

    .status-badge.queued {
        background: #f1f5f9;
        color: #475569;
    }

    .status-badge.failed {
        background: #fee2e2;
        color: #b91c1c;
    }

.action-icon {
    color: #94a3b8;
    margin: 0 6px;
    cursor: pointer;
    transition: 0.2s;
}

    .action-icon:hover {
        color: #2a5cff;
    }

.limit-alert-banner {
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
