/*
 * ============================================================
 * Copyright (c) 2026 Agile Automate PTY (Ltd)
 * All Rights Reserved. Proprietary and Confidential.
 * ============================================================
 *
 * This software and its source code are the exclusive intellectual
 * property of Agile Automate PTY (Ltd). Unauthorised copying,
 * reproduction, modification, distribution, display, or transmission
 * of this software or any portion thereof is strictly prohibited.
 *
 * This code represents significant intellectual investment and was
 * developed exclusively by Agile Automate PTY (Ltd). No licence is
 * granted to any party to use, copy, modify, merge, publish,
 * distribute, sublicense, or sell copies of this software without
 * the express prior written consent of Agile Automate PTY (Ltd).
 *
 * Any unauthorised use, reverse engineering, or redistribution of
 * this code or its designs — including visual layouts, UI patterns,
 * workflow logic, and system architecture — constitutes an
 * infringement of intellectual property rights and will be pursued
 * to the fullest extent permitted under:
 *
 *   - The Copyright Act 98 of 1978 (Republic of South Africa)
 *   - The Electronic Communications and Transactions Act 25 of 2002
 *   - Applicable international intellectual property treaties
 *
 * Contact: info@agileautomate.co.za
 * ============================================================
 */
/* 
 * Global CSS to hide question marks, emojis, and special characters
 * Include this file in all HTML pages: <link rel="stylesheet" href="hide-emojis-globally.css">
 */

/* Hide icon/emoji spans */
.icon,
span.icon {
    font-size: 0 !important;
    color: transparent !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    display: inline-block !important;
    line-height: 0 !important;
    opacity: 0 !important;
}

/* Company name styling - NO ::before pseudo-elements to avoid duplication */
.hero-company-name,
.company-name,
span.hero-company-name,
span.company-name {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    display: inline-block !important;
    letter-spacing: normal !important;
}

/* Override for smaller text contexts */
span[style*="font-size: 16px"] .company-name,
span[style*="font-size: 16px"].company-name {
    font-size: 16px !important;
}

/* Filter out � character using font replacement */
body {
    text-rendering: optimizeLegibility;
}

/* Hide question marks in UI text - use CSS text-replace where possible */
/* For browsers that support it, replace ? at start of text */
p, div, span, h1, h2, h3, h4, h5, h6, li {
    /* Remove leading question marks from displayed text */
}

/* Specific fixes for common patterns */
p:has-text("? No"),
p:has-text("?? No"),
div:has-text("? No"),
div:has-text("?? No") {
    /* These will need JavaScript to fully hide */
}

/* Hide stray placeholder question marks in text messages only */
.error-message::first-letter,
.success-message::first-letter {
    color: transparent;
    font-size: 0;
}

