.tool-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.tool-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}


.tool-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
}
.tool-icon img {
    height: calc(100% - 10px);
    object-fit: contain;
    filter:invert(1);
}
.tool-icon i {
    font-size: 26px;
    color: white;
}

.tool-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.tool-description {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    height: 3lh;
    margin-bottom: 15px;
}

.generate-btn {
    background: #3b82f6 !important;
    color: white !important;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.generate-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.generate-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.tool-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

@media (max-width: 768px) {
    .tool-card {
        padding: 25px;
    }
}

.affliate_rule_module .collapsible-content,
.invoice-page .dashboard_title_area,
.single_blog_content {
    padding: 6px 30px !important;
}

.copy-btn {
    background: #10b981 !important;
    color: white !important;
    border: none !important;
}


/* form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    text-transform: none;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}


.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-check input[type="checkbox"] {
    margin-right: 5px;
    width: 14px;
    height: 14px;
}

.form-check label {
    margin-bottom: 0;
    font-weight: 500;
}

.result-area {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    height: 200px;
    max-height: 420px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    resize: vertical;
}

.result-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.action-btns {
    gap: 10px;
}

.action-btn {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}


.action-btn:hover {
    background: #e5e7eb;
    color: #1f2937;
    text-decoration: none;
}

.action-btn i {
    margin-right: 6px;
}


.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    border: 1px solid #cbd5e1;
}

.stat-item {
    text-align: center;
    padding: 20px 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #1e40af;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 11px;
    color: #64748b;
    letter-spacing: 1px;
    font-weight: 600;
    background: #f1f5f9;
    padding: 4px 8px;
    text-transform: uppercase;
    border-radius: 6px;
    display: inline-block;
}

@media (max-width: 768px) {
    .result-actions {
        flex-direction: column;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .stat-item {
        padding: 18px 15px;
    }

    .stat-number {
        font-size: 28px;
    }
}
