/*
 * Stock Insights NSE - production stylesheet
 * Generated for the current frontend component set.
 *
 * Runtime dependency: NONE.
 * Upload this file to:
 *   /assets/css/app.css
 *
 * The class names follow Tailwind utility conventions. This production
 * bundle contains only the utilities required by the current frontend.
 */

*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e2e8f0}
::before,::after{--tw-content:""}
html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-feature-settings:normal;font-variation-settings:normal}
body{margin:0;line-height:inherit}
a{color:inherit;text-decoration:inherit}
button,input{font:inherit}
button{cursor:pointer}
img,svg{display:block;vertical-align:middle}
img{max-width:100%;height:auto}
table{text-indent:0;border-color:inherit;border-collapse:collapse}
h1,h2,h3,p{margin:0}
ul{list-style:none;margin:0;padding:0}

.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}
.flex-1{flex:1 1 0%}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}
.justify-between{justify-content:space-between}.justify-center{justify-content:center}.place-items-center{place-items:center}
.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}
.sticky{position:sticky}.top-0{top:0}.z-50{z-index:50}
.relative{position:relative}.mx-auto{margin-left:auto;margin-right:auto}
.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}
.mt-5{margin-top:1.25rem}.mt-7{margin-top:1.75rem}.mt-8{margin-top:2rem}
.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}
.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}
.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}
.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}
.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}
.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}
.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}
.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}
.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}
.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}
.max-w-7xl{max-width:80rem}
.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}
.gap-8{gap:2rem}.gap-10{gap:2.5rem}
.space-y-2>:not([hidden])~:not([hidden]){margin-top:.5rem}
.text-right{text-align:right}.text-center{text-align:center}
.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}
.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}
.text-xl{font-size:1.25rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}
.text-4xl{font-size:2.25rem;line-height:2.5rem}
.font-semibold{font-weight:600}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-black{font-weight:900}
.uppercase{text-transform:uppercase}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}
.tracking-wider{letter-spacing:.05em}
.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}
.text-slate-400{color:#94a3b8}.text-slate-500{color:#64748b}.text-slate-600{color:#475569}
.text-slate-800{color:#1e293b}.text-slate-950{color:#020617}.text-white{color:#fff}
.text-blue-400{color:#60a5fa}.text-blue-600{color:#2563eb}.text-blue-700{color:#1d4ed8}
.text-emerald-600{color:#059669}.text-emerald-700{color:#047857}.text-violet-700{color:#6d28d9}
.bg-white{background-color:#fff}.bg-slate-50{background-color:#f8fafc}.bg-slate-950{background-color:#020617}
.bg-blue-50{background-color:#eff6ff}.bg-blue-100{background-color:#dbeafe}.bg-blue-600{background-color:#2563eb}
.bg-violet-50{background-color:#f5f3ff}.bg-violet-100{background-color:#ede9fe}
.bg-emerald-50{background-color:#ecfdf5}.bg-emerald-100{background-color:#d1fae5}
.bg-amber-50{background-color:#fffbeb}.bg-amber-100{background-color:#fef3c7}
.border{border-width:1px}.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}
.border-y{border-top-width:1px;border-bottom-width:1px}
.border-slate-100{border-color:#f1f5f9}.border-slate-200{border-color:#e2e8f0}
.border-slate-300{border-color:#cbd5e1}.border-blue-100{border-color:#dbeafe}
.border-slate-800{border-color:#1e293b}
.divide-y>:not([hidden])~:not([hidden]){border-top-width:1px}
.divide-slate-200>:not([hidden])~:not([hidden]){border-color:#e2e8f0}
.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}
.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}
.shadow-sm{box-shadow:0 1px 2px 0 rgb(0 0 0/.05)}
.shadow-md{box-shadow:0 4px 6px -1px rgb(0 0 0/.1),0 2px 4px -2px rgb(0 0 0/.1)}
.shadow-xl{box-shadow:0 20px 25px -5px rgb(0 0 0/.1),0 8px 10px -6px rgb(0 0 0/.1)}
.shadow-blue-100\/60{--tw-shadow-color:#dbeafe99;box-shadow:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)}
.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}
.from-blue-50{--tw-gradient-from:#eff6ff;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,transparent)}
.via-white{--tw-gradient-stops:var(--tw-gradient-from),#fff,var(--tw-gradient-to,transparent)}
.to-sky-50{--tw-gradient-to:#f0f9ff}
.backdrop-blur{backdrop-filter:blur(8px)}
.bg-white\/95{background-color:rgb(255 255 255/.95)}
.outline-none{outline:2px solid transparent;outline-offset:2px}
.transition{transition-property:color,background-color,border-color,box-shadow,transform;transition-duration:150ms;transition-timing-function:cubic-bezier(.4,0,.2,1)}
.hover\:bg-slate-100:hover{background-color:#f1f5f9}.hover\:bg-blue-100:hover{background-color:#dbeafe}
.hover\:bg-blue-700:hover{background-color:#1d4ed8}.hover\:border-blue-300:hover{border-color:#93c5fd}
.hover\:text-white:hover{color:#fff}.hover\:shadow-md:hover{box-shadow:0 4px 6px -1px rgb(0 0 0/.1),0 2px 4px -2px rgb(0 0 0/.1)}
.hover\:-translate-y-1:hover{transform:translateY(-.25rem)}
.focus\:border-blue-500:focus{border-color:#3b82f6}
.focus\:ring-2:focus{box-shadow:0 0 0 2px #bfdbfe}
.focus\:ring-blue-200:focus{--tw-ring-color:#bfdbfe}
.focus\:ring-2.focus\:ring-blue-200:focus{box-shadow:0 0 0 2px #bfdbfe}
.min-w-full{min-width:100%}
.text-xs.uppercase{line-height:1rem}
.inline-flex{display:inline-flex}
.aspect-auto{aspect-ratio:auto}

@media (min-width:640px){
 .sm\:block{display:block}.sm\:inline-block{display:inline-block}.sm\:flex-row{flex-direction:row}
 .sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}
 .sm\:py-16{padding-top:4rem;padding-bottom:4rem}
 .sm\:text-lg{font-size:1.125rem;line-height:1.75rem}
 .sm\:text-5xl{font-size:3rem;line-height:1}
 .sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1024px){
 .lg\:flex{display:flex}.lg\:hidden{display:none}
 .lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
 .lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
 .lg\:grid-cols-\[1\.1fr_\.9fr\]{grid-template-columns:1.1fr .9fr}
 .lg\:px-8{padding-left:2rem;padding-right:2rem}
}

@media (max-width:639px){
 .overflow-x-auto{-webkit-overflow-scrolling:touch}
 table{font-size:.8125rem}
}

/* Shared site components: optional semantic classes for PHP templates. */
.site-container{width:100%;max-width:80rem;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}
.site-card{border:1px solid #e2e8f0;background:#fff;border-radius:1rem;box-shadow:0 1px 2px rgb(0 0 0/.05)}
.site-table{width:100%;font-size:.875rem;text-align:left}
.site-table th{background:#f8fafc;color:#64748b;font-size:.75rem;text-transform:uppercase;letter-spacing:.025em;font-weight:700;padding:.875rem 1.25rem}
.site-table td{padding:.875rem 1.25rem;border-top:1px solid #e2e8f0}
.site-link{color:#2563eb;font-weight:700}
.site-link:hover{color:#1d4ed8}
.site-button{display:inline-flex;align-items:center;justify-content:center;border-radius:.75rem;background:#2563eb;color:#fff;font-weight:700;padding:.75rem 1.25rem}
.site-button:hover{background:#1d4ed8}
.site-muted{color:#64748b}
/* =========================================================
   RESULTS FILTER
   ========================================================= */

.results-filter-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    min-height: 78px;

    padding: 12px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 24px;

    box-shadow:
        0 2px 6px rgba(15, 23, 42, 0.04);
}


/* SEARCH */

.results-search-wrapper {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.results-search-icon {
    position: absolute;

    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 21px;
    line-height: 1;

    color: #94a3b8;

    pointer-events: none;
}


.results-search-input {
    width: 100%;
    height: 54px;

    padding: 0 18px 0 54px;

    border: 0;
    border-radius: 18px;

    background: #f8fafc;

    color: #0f172a;

    font-size: 16px;
    font-weight: 500;

    outline: none;
}


.results-search-input::placeholder {
    color: #94a3b8;
}


.results-search-input:focus {
    background: #f1f5f9;
}


/* QUARTER */

.results-quarter-wrapper {
    flex: 0 0 170px;
}


.results-quarter-select {
    width: 100%;
    height: 54px;

    padding: 0 18px;

    border: 0;
    border-radius: 18px;

    background: #f8fafc;

    color: #475569;

    font-size: 16px;
    font-weight: 500;

    outline: none;

    cursor: pointer;
}


.results-quarter-select:focus {
    background: #f1f5f9;
}


/* =========================================================
   AUTOSUGGESTIONS
   ========================================================= */

.stock-suggestions {
    position: absolute;

    top: calc(100% + 8px);
    left: 0;
    right: 0;

    z-index: 1000;

    display: none;

    max-height: 300px;
    overflow-y: auto;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.12);
}


.stock-suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 13px 16px;

    background: #ffffff;

    border: 0;

    text-align: left;

    cursor: pointer;
}


.stock-suggestion-item:hover,
.stock-suggestion-item.active {
    background: #f8fafc;
}


.stock-suggestion-company {
    color: #0f172a;

    font-size: 14px;
    font-weight: 700;
}


.stock-suggestion-symbol {
    margin-left: 12px;

    color: #64748b;

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .results-filter-box {
        flex-direction: column;

        align-items: stretch;

        padding: 12px;

        border-radius: 26px;
    }


    .results-search-wrapper {
        width: 100%;
    }


    .results-quarter-wrapper {
        width: 100%;
        flex-basis: auto;
    }


    .results-search-input,
    .results-quarter-select {
        height: 58px;
    }

}
.sort-buttons {
    display: flex;
    gap: 12px;
    margin: 20px 0 28px;
    flex-wrap: wrap;
}

.sort-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 98px;
    height: 46px;
    padding: 0 20px;

    border: 1px solid #cbd5e1;
    border-radius: 14px;

    background: #ffffff;
    color: #0f172a;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.sort-btn:hover {
    border-color: #7c3aed;
    color: #6d28d9;
}

.sort-btn.active {
    background: #eadcff;
    border-color: #eadcff;
    color: #111827;
}

