/* „Ai noștri”: stiluri peste tema Filament (tokens Medicover). CSS-ul Filament e compilat, deci clasele proprii stau aici. */
[x-cloak] { display: none !important; }
.fi-section-header-heading { color: #00539F; font-weight: 800; }

/* Câmpul mare pentru cod (call center și manageri) */
.ain-verify, .ain-visual { max-width: 1100px; }
.ain-label { display: block; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #6B7A8C; margin-bottom: .5rem; }
.ain-verify-row { display: flex; gap: .75rem; align-items: stretch; flex-wrap: wrap; }
.ain-code-input { flex: 1 1 280px; min-width: 0; font: 900 34px/1.1 Lato, Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase;
    color: #00539F; background: #fff; border: 2px solid #A2CFF0; border-radius: 12px; padding: .7rem 1rem; outline: none; }
.ain-code-input:focus { border-color: #00539F; box-shadow: 0 0 0 4px rgba(39, 170, 225, .18); }
.ain-code-input::placeholder { color: #B4C3D1; font-weight: 700; font-size: 22px; letter-spacing: 0; text-transform: none; }
.ain-hint { font-size: 13px; color: #6B7A8C; margin-top: .6rem; }
.ain-dim { opacity: .55; transition: opacity .15s; }

/* Rezultatul verificării */
.ain-result { margin-top: 1.5rem; border-radius: 14px; padding: 1.4rem 1.6rem; border: 2px solid; background: #fff; }
.ain-ok { border-color: #76C04E; background: #F3FAEE; }
.ain-warn { border-color: #F37435; background: #FFF6F0; }
.ain-bad { border-color: #DB403F; background: #FDF1F1; }
.ain-result-badge { display: inline-block; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #fff;
    border-radius: 999px; padding: .3rem .8rem; }
.ain-ok .ain-result-badge { background: #4E9A2B; }
.ain-warn .ain-result-badge { background: #F37435; }
.ain-bad .ain-result-badge { background: #DB403F; }
.ain-result-code { font: 900 40px/1.1 Lato, Arial, sans-serif; color: #00539F; margin: .6rem 0 .8rem; letter-spacing: .03em; }
.ain-result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 0; }
.ain-result-grid dt { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #6B7A8C; }
.ain-result-grid dd { margin: .15rem 0 0; font-size: 22px; font-weight: 700; color: #122D5C; }
.ain-result-note { margin-top: .9rem; font-size: 15px; color: #404040; line-height: 1.5; }
.ain-bad .ain-result-note:first-child { margin-top: 0; }

/* Generatorul de vizual */
.ain-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 2rem; align-items: start; }
@media (max-width: 1024px) { .ain-visual { grid-template-columns: 1fr; } }
.ain-options { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.2rem; }
.ain-check { display: flex; gap: .6rem; align-items: center; font-size: 15px; color: #404040; cursor: pointer; }
.ain-check input { width: 18px; height: 18px; accent-color: #00539F; }
.ain-seg { display: inline-flex; border: 2px solid #A2CFF0; border-radius: 10px; overflow: hidden; align-self: flex-start; }
.ain-seg label { cursor: pointer; }
.ain-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ain-seg span { display: block; padding: .5rem 1rem; font-size: 14px; font-weight: 700; color: #00539F; }
.ain-seg input:checked + span { background: #00539F; color: #fff; }
.ain-who { margin-top: 1.4rem; padding: 1rem 1.2rem; border-left: 4px solid #00539F; background: #F2F6FA; border-radius: 0 10px 10px 0;
    display: flex; flex-direction: column; gap: .3rem; font-size: 15px; color: #122D5C; }
.ain-who-k { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #6B7A8C; }
.ain-howto { margin: 1.6rem 0 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .5rem; color: #404040; font-size: 15px; list-style: decimal; }
.ain-preview { background: #E9EFF5; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(0, 83, 159, .45); }
.ain-preview-post { aspect-ratio: 1080 / 1700; max-height: 82vh; margin: 0 auto; }
.ain-preview-story { aspect-ratio: 9 / 16; max-height: 78vh; margin: 0 auto; }
.ain-preview img { width: 100%; height: 100%; display: block; object-fit: contain; }
.ain-preview-busy { height: 100%; display: grid; place-items: center; color: #6B7A8C; font-size: 14px; padding: 1rem; text-align: center; }
.ain-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.ain-message { margin-top: 1rem; font-size: 14px; color: #404040; }
.ain-message summary { cursor: pointer; font-weight: 700; color: #00539F; }
.ain-message p { margin-top: .5rem; padding: .8rem 1rem; background: #F2F6FA; border-radius: 10px; line-height: 1.5; }
