/*style*/

    /* --- DESIGN UTILITY SYSTEM --- */
    :root {
        --bg-main: #f4f7fa;
        --bg-card: #ffffff;
        --text-main: #333333;
        --accent-blue: #1a73e8;
        --accent-hover: #1557b0;
        --link-color: #1a0dcf;
        --url-color: #006691;
        --border-color: #d1ace0;
        --shadow: 0 4px 12px rgba(0,0,0,0.05);
    --brand-primary: #007aff; /* Apple Native Blue */
    --brand-dark: #1c1c1e;
    --text-muted: #8e8e93;
    --bg-badge: #f2f2f7;
    --border-radius-sm: 6px;
    --border-radius-lg: 12px;
}

    @media (prefers-color-scheme: dark) {
        :root {
            --bg-main: #0f0f10;
            --bg-card: #171719;
            --text-main: #e8eaed;
            --text-muted: #9aa0a6;
            --accent-blue: #8ab4f8;
            --accent-hover: #669df6;
            --link-color: #8ab4f8;
            --url-color: #34a893;
            --border-color: #3c4043;
            --shadow: 0 4px 12px rgba(0,0,0,0.3);
        }
    }




/* New style css*/
/* Base Body Alignment reset - ensure center space layout */
.search-hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 10px 20px 20px 20px;
    max-width: 600px;
    margin: 0 auto;
}
.brand-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 1px;
}
/* Modern sheild Icon Graphic placeholder */
/* Container adjusted to house your thumbnail image cleanly */
.sheild-logo-mark {
    width: auto;  /*32px*/
    height: 69px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* Removes old background color gradient */
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15)); /* Adds smooth shadow beneath image shape */
    margin-bottom: -15px;
}
/* Image class enforcing the official Apple iOS App Icon squircle shape */
.app-logo-image {
    width: auto; height: 70px;
    object-fit: cover; /* Prevents image warping or squishing */
    /* Creates a beautiful native iOS sqircle layout path */
    clip-path: url(#ios-squircle); 
    border-radius: 14px; /* Flawless fallback older browser engines */
   /* background: #0064d115;*/
		/*  transform: translate3d(70px, 5px, 10px);*/
       transform: translate3d(2px, -20px, 10px);
    margin: 0; padding: 0;
    display: flex;   position: relative;
/*    transform: translateY(10px);*/
}

/* Typography Enhancements */
.brand-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--brand-dark);
    margin: 6px 0 0 0;
}
.brand-title a {
    text-decoration: none;
    color: inherit;
    z-index: 0;
    position: relative;    
        margin-right: -7px; margin-left: 2px;
}
.brand-tld {
    color: var(--brand-primary);
    font-weight: 400;
}
.brand-tagline {
    font-size: 1.0rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0 0 10px 0;
}
/* Badge Layout replaces ugly plain text strings */
.badge-row {
    display: flex;
    flex-direction: row-reverse;
}
.badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1px 5px;
    border-radius: var(--border-radius-sm);
        position: relative;  
        width: 70px;    margin: 5px;
   /*   width: max-content;   margin-top: 5px;*/
}
.badge.ver {
    background-color: var(--bg-badge);
    color: var(--brand-dark);
}
.badge.pipeline {
    background-color: rgba(0, 122, 255, 0.1);
    color: var(--brand-primary);
}
/* Value Prop Chips Layout */
.value-prop-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}
.prop-chip {
    font-size: 0.85rem;
    font-weight: 500;
    background-color: var(--bg-badge);
    color: #48484a;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
/* Call to Action Button styling */
.app-store-cta-wrapper {
    margin-top: 10px;
}
.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: var(--border-radius-lg);
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.15s ease, background-color 0.15s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.app-store-btn:hover {
    background-color: #2c2c2e;
    transform: translateY(-1px);
}
.app-store-icon {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}
/* Dark Mode Overrides */
@media (prefers-color-scheme: dark) {
    :root {
        --brand-dark: #f2f2f7;
        --bg-badge: #2c2c2e;
    }
    .prop-chip {
        border-color: rgba(255, 255, 255, 0.1);
        color: #d1d1d6;
    }
}

/*end new syles*/



 /* --- BASE ELEMENTS --- */
body {
       font-family: system-ui, -apple-system, "Proxima Nova", Roboto, sans-serif; 
        /* font-family: Consolas, "Courier New", monospace; */
        max-width: 100%; 
        margin: 0; 
        padding: 0; 
        line-height: 1.6; 
        background-color: var(--bg-main); 
        color: var(--text-main);
        font-size: 15px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .container {
        max-width: 900px; 
        margin: 20px auto; 
        background: var(--bg-card); 
        padding: 25px; 
        border-radius: 16px; 
        box-shadow: var(--shadow);
        border: 1px solid var(--border-color);
    }

    h1, h2 { text-align: center; color: var(--accent-blue); margin-top: 0; }
    .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 25px; font-size: 14px; }
    
    /* --- SEAMLESS SEARCH BAR CONFIGURATION --- */
    .search-container { 
        /*margin-bottom: 30px; */    margin: 0 20px 0 20px;
        text-align: center;
    }
    .search-box { 
        display: flex; 
        gap: 10px; 
        max-width: 700px; 
        margin: 0 auto 12px auto; 
    }
    .search-box input[type="text"] { 
        flex: 1; 
        padding: 12px 20px; 
        font-size: 16px; 
        border: 2px solid var(--border-color); 
        border-radius: 40px;
        background-color: var(--bg-card);
        color: var(--text-main);
        outline: none;
    }
    .search-box input[type="text"]:focus {
        border-color: var(--accent-blue);
        box-shadow: 0 0 0 2px rgba(26,115,232,0.2);
    }
    .search-box button { 
        padding: 12px 28px; 
        font-size: 16px; 
        background-color: var(--accent-blue); 
        color: #fff; 
        border: none; 
        border-radius: 40px; 
        cursor: pointer; 
        font-weight: bold; 
        transition: background-color 0.2s;
    }
    .search-box button:hover { background-color: var(--accent-hover); }

    .options-box { 
        display: inline-flex; 
        font-size: 13px; 
        align-items: center; 
        gap: 20px; 
        color: var(--text-muted);
        margin: 5px;
        padding: 4px 12px; 
		  /*  border: 1px solid var(--border-color);*/
        border-radius: 20px;
    }

 

/* --- SEARCH COMPONENT ITEMS --- */
    
/* Authority badge styling - Kept at root level */
.authority-badge {
    display: inline-block !important; /* Overrides layout collapsing constraints */
    font-size: 10px;
    background: #2a2a3a;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    color: #88ff88;
    white-space: nowrap; /* Prevents the text from splitting inside the badge */
}

/* Forces title link and star badge to live on the exact same row safely */
.result-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}
.result-title-link {
    font-size: 18px;
    color: #1a0dab;
    text-decoration: none;
}
.result-title-link:hover {
    text-decoration: underline;
}



 .result-item { 
        margin-bottom: 25px; 
        padding-bottom: 20px; 
        border-bottom: 1px solid var(--border-color); 
}
 .result-item a { 
        font-size: 19px; 
        color: var(--link-color); 
        text-decoration: none; 
        display: inline-block; 
        margin-bottom: 2px; 
    }
  
 .result-item a:hover { text-decoration: underline; }
    
    
/* Ensure the URL starts cleanly on a fresh line block under the title row */
.result-url {
    display: block; 
    word-break: break-all; /* Prevents overflow layouts if subdirectories are long */
        color: var(--url-color); 
        font-size: 14px; 
        display: block; 
        margin-bottom: 4px;
    }
    .result-snippet { 
        color: var(--text-muted); 
        margin: 0; 
        font-size: 15px; 
    line-height: 1.4;

}

    
 /* --- BOLD KEYWORD HIGHLIGHTING STYLES --- */
 .result-item b, .result-snippet b { 
        color: #d93025; 
        background-color: rgba(217, 48, 37, 0.08); 
        padding: 0 3px; 
        border-radius: 3px;
        font-weight: bold;
}
    
  /* --- SEARCH ADVICE SUGGESTION BANNER --- */
.suggestion-banner {
    background-color: rgba(26, 115, 232, 0.05);
    color: var(--text-main);
    padding: 14px 20px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}
.suggestion-banner i {
    color: var(--accent-blue);
}


    /* --- PAGINATION INTERFACE LINKS --- */
    .pagination { 
        margin-top: 40px; 
        display: flex; 
        gap: 8px; 
        justify-content: center; 
        flex-wrap: wrap; 
    }
    .pagination a, .pagination span { 
        padding: 10px 16px; 
        border: 1px solid var(--border-color); 
        text-decoration: none; 
        color: var(--link-color); 
        border-radius: 6px; 
        background: var(--bg-card);
    }
    .pagination .active { 
        background: var(--accent-blue); 
        color: #fff; 
        border-color: var(--accent-blue); 
        font-weight: bold;
    }
    .pagination a:hover:not(.active) { background-color: var(--border-color); }

    /* --- RESPONSIVE MOBILE SCALING --- */
    @media (max-width: 768px) {
        body { padding: 10px; }
        .container { padding: 15px; margin: 10px auto; }
        .search-box { flex-direction: column; gap: 8px; }
        .search-box input[type="text"] { width: 100%; box-sizing: border-box; }
        .search-box button { width: 100%; }
        .result-item a { font-size: 17px; }
    }
  

.did-you-mean {
    background-color: #e8f0fe;
    border-left: 5px solid #1a73e8;
    padding: 12px 16px;
    margin: 15px 0;
    border-radius: 4px;
    font-size: 15px;
    color: #202124;
}
.did-you-mean a {
    color: #1a73e8;
    font-weight: 500;
    text-decoration: none;
}
.did-you-mean a:hover {
    text-decoration: underline;
}
.did-you-mean strong {
    color: #34a853;
}


  /* --- LIVE REQUISITE TICKER BADGE --- */
 .ticker-badge {
    display: inline-flex !important; /* Forces layout parsing for inside elements */
    align-items: center !important;  /* Centers the text and the dot horizontally */
    background-color: rgba(26, 115, 232, 0.08); 
    color: #1a73e8;
    margin: 1px 0 20px 0; 
    padding: 1px 14px; 
    border-radius: 20px; 
    font-size: 12px; 
    font-weight: bold;
}
/* Placed globally without a strict parent container requirement */
.pulse-dot {
    display: inline-block !important; /* CRUCIAL: Span tags cannot scale/glow without block definitions */
    width: 10px !important; 
    height: 10px !important; 
    background-color: #34a853 !important; 
    border-radius: 50% !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;        /* Prevents flexbox layouts from crushing the dot */
    animation: pulse 1.8s infinite linear !important;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(52, 168, 83, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 168, 83, 0); }
}



/* Blinks anything styling */
.blink {
    animation: blinker 9s linear infinite;
}
@keyframes blinker {
    90% { opacity: 0; }
}



/* NEW REPLACED CSS Look */
/* ===== SETTINGS & HELP POPOUTS ===== */
/* options-box */
.filter-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.settings-popout,
.help-popout {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: white;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 99999;
    border: 1px solid #e0e0e0;
}
.settings-popout.open,
.help-popout.open {
    display: block;
}
.settings-popout label,
.help-popout label {
    display: block;
    padding: 4px 0;
    cursor: pointer;
    font-size: 13px;
    color: #333;
}
.settings-popout hr,
.help-popout hr {
    margin: 8px 0;
    border: none;
    border-top: 1px solid #e8eaed;
}
.settings-popout small,
.help-popout small {
    color: #5f6368;
    font-size: 12px;
}
/* Icon buttons */
.settings-toggle,
.help-toggle {
    background: none;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: white;
}
.settings-toggle:hover,
.help-toggle:hover {
    background: #f1f3f4;
    border-color: #999;
}

/* Replaced badge-row & FOOTER */
/* ===== WHAT'S NEW POPOUT ===== */
.badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.whatsnew-badge {
    background: #e8f0fe;
    color: #1a73e8;
    border: 1px solid #d2e3fc;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: system-ui;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.whatsnew-badge:hover {
    background: #d2e3fc;
    transform: scale(1.02);
}
/* Main popout container */
.whatsnew-popout {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    max-width: 320px;
    min-width: 280px;
    font-size: 13px;
    z-index: 99999;
    border: 1px solid #e0e0e0;
    text-align: left;
}
/* Arrow pointer */
.whatsnew-popout::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 24px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    filter: drop-shadow(0 -1px 1px rgba(0,0,0,0.05));
}
/* Popout header */
.whatsnew-popout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.whatsnew-popout-title {
    font-size: 15px;
    font-weight: 600;
    color: #202124;
}
.whatsnew-popout-beta {
    font-size: 11px;
    color: #5f6368;
    background: #f1f3f4;
    padding: 2px 10px;
    border-radius: 12px;
}
.whatsnew-popout-list {
    margin: 0;
    padding-left: 20px;
    line-height: 1.8;
    color: #333;
}
.whatsnew-popout-list li {
    margin-bottom: 2px;
}

.whatsnew-popout-divider {
    margin: 10px 0;
    border: none;
    border-top: 1px solid #e8eaed;
}
.whatsnew-popout-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #5f6368;
}
.whatsnew-popout-link {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.whatsnew-popout-link:hover {
    text-decoration: underline;
}
/* Popout open state (controlled by JS) */
.whatsnew-popout.open {
    display: block;
}
/* ===== FOOTER STYLES ===== */
.site-footer {
    margin-top: 40px;
    padding: 30px 20px 20px;
    border-top: 1px solid #e8eaed;
    background: #fafafa;
}
.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.footer-left {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-brand {
    font-weight: 600;
    font-size: 15px;
    color: #202124;
}
.footer-divider {
    color: #dadce0;
}
.footer-tagline {
    font-size: 13px;
    color: #5f6368;
}
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 12px 0 16px;
}
.footer-link {
    color: #5f6368;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
    position: relative;
}
.footer-link:hover {
    color: #1a73e8;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1a73e8;
    transition: width 0.2s;
}
.footer-link:hover::after {
    width: 100%;
}
.footer-bottom {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e8eaed;
    color: #9aa0a6;
    font-size: 12px;
}
/* Mobile responsive */
@media (max-width: 600px) {
    .footer-left {
        flex-direction: column;
        gap: 4px;
    }
    
    .footer-nav {
        gap: 12px;
    }
    
    .footer-link {
        font-size: 12px;
    }
    
    .whatsnew-popout {
        max-width: 260px;
        min-width: 200px;
        right: -10px;
    }
    
    .whatsnew-popout::before {
        right: 16px;
    }
}
