/* ============================================
   Investitori Pages - Shared Styles
   ============================================ */

/* Hero Section */
/*
 * Banda verde de sub meniu.
 *
 * FĂRĂ margin-top: antetul e `position: sticky`, deci ocupă loc în flux și
 * împinge singur conținutul. Un `margin-top` aici lăsa o fâșie albă de 70px
 * între meniu și bandă — rămășiță de pe vremea când antetul era `fixed`.
 * Padding-ul îl aduce la aceeași greutate vizuală ca eroul de pe /colaboratori.
 */
.inv-hero {
    background: linear-gradient(135deg, #9eab03 0%, #535a01 100%);
    color: #fff;
    padding: 84px 0 64px;
}

.inv-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.inv-hero__breadcrumb {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.85;
}

.inv-hero__breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.inv-hero__breadcrumb a:hover {
    text-decoration: underline;
}

.inv-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}

.inv-hero p {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
    max-width: 700px;
}

/* Layout */
.inv-layout {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    gap: 40px;
    align-items: flex-start;
}

/* Sidebar */
.inv-sidebar {
    flex: 0 0 260px;
    min-width: 0;
    position: sticky;
    top: 90px;
}

.inv-sidebar__title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9eab03;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #9eab03;
}

.inv-sidebar__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.inv-sidebar__nav ul li {
    border-bottom: 1px solid #eee;
}

.inv-sidebar__nav ul li a {
    display: block;
    padding: 10px 12px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.inv-sidebar__nav ul li a:hover,
.inv-sidebar__nav ul li a.active {
    background: #f5f8e8;
    color: #9eab03;
    border-left-color: #9eab03;
    font-weight: 600;
}

.inv-sidebar__contact {
    margin-top: 24px;
    padding: 16px;
    background: #f5f8e8;
    border-radius: 8px;
    border: 1px solid #d9e494;
}

.inv-sidebar__contact p {
    margin: 0 0 8px;
    font-size: 13px;
    color: #444;
}

.inv-sidebar__contact a {
    display: block;
    color: #9eab03;
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 4px;
}

.inv-sidebar__contact a:hover {
    text-decoration: underline;
}

.inv-sidebar__bvb {
    margin-top: 12px;
    display: block !important;
}

.inv-sidebar__bvb img {
    height: 40px;
    width: auto;
}

/* Main Content */
.inv-main {
    flex: 1;
    min-width: 0;
}

.inv-main h2 {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #9eab03;
}

.inv-main h3 {
    font-size: 18px;
    font-weight: 600;
    color: #444;
    margin: 28px 0 12px;
}

.inv-main p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Document List */
.inv-doc-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.inv-doc-list li {
    border-bottom: 1px solid #eee;
}

.inv-doc-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.inv-doc-list li a:hover {
    background: #f5f8e8;
    color: #9eab03;
}

.inv-doc-list li a::before {
    content: '\f1c1';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #9eab03;
    font-size: 16px;
    flex-shrink: 0;
}

/* Image-type documents (scanned .jpg/.jpeg/.png transaction notices).
   NB: use the "image" glyph (\f03e) — it is in our Font Awesome subset,
   whereas "file-image" (\f1c5) was not, which left these few entries with a
   blank/tofu icon. Case-insensitive so uppercase extensions also match. */
.inv-doc-list li a[href$=".jpg" i]::before,
.inv-doc-list li a[href$=".jpeg" i]::before,
.inv-doc-list li a[href$=".png" i]::before {
    content: '\f03e';
}

/* Document Group */
.inv-doc-group {
    margin-bottom: 32px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.inv-doc-group__header {
    background: #f5f8e8;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 15px;
    color: #444;
    border-bottom: 1px solid #dde8a0;
}

.inv-doc-group .inv-doc-list {
    margin: 0;
}

.inv-doc-group .inv-doc-list li:last-child {
    border-bottom: none;
}

/* Calendar Table */
.inv-calendar {
    margin-bottom: 32px;
}

.inv-calendar__year {
    font-size: 20px;
    font-weight: 700;
    color: #9eab03;
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #dde8a0;
}

.inv-calendar__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.inv-calendar__table tr {
    border-bottom: 1px solid #eee;
}

.inv-calendar__table tr:last-child {
    border-bottom: none;
}

.inv-calendar__table td {
    padding: 10px 12px;
    color: #555;
}

.inv-calendar__table td:first-child {
    white-space: nowrap;
    font-weight: 600;
    color: #9eab03;
    width: 120px;
}

/* Board Members */
.inv-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.inv-board-member {
    text-align: center;
}

.inv-board-member__photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid #dde8a0;
    margin: 0 auto 12px;
    display: block;
    background: #f0f0f0;
}

.inv-board-member__placeholder {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #dde8a0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border: 3px solid #c8d870;
}

.inv-board-member__placeholder i {
    font-size: 50px;
    color: #9eab03;
}

.inv-board-member__name {
    font-weight: 700;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.inv-board-member__role {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.inv-board-member__born {
    font-size: 12px;
    color: #999;
}

/* Stats Grid */
.inv-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.inv-stat {
    background: #f5f8e8;
    border: 1px solid #dde8a0;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.inv-stat__label {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.inv-stat__value {
    font-size: 22px;
    font-weight: 700;
    color: #9eab03;
}

/* Info Box */
.inv-info-box {
    background: #f9f9f9;
    border-left: 4px solid #9eab03;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    border-radius: 0 6px 6px 0;
}

/* FAQ Accordion */
.inv-faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.inv-faq-question {
    padding: 14px 18px;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
    transition: background 0.2s;
}

.inv-faq-question:hover {
    background: #f5f8e8;
}

.inv-faq-question::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #9eab03;
    transition: transform 0.2s;
}

.inv-faq-item.open .inv-faq-question::after {
    transform: rotate(180deg);
}

.inv-faq-answer {
    display: none;
    padding: 16px 18px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    border-top: 1px solid #eee;
}

.inv-faq-item.open .inv-faq-answer {
    display: block;
}

/* Event Items */
.inv-event {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.inv-event__date {
    font-size: 13px;
    font-weight: 700;
    color: #9eab03;
    margin-bottom: 6px;
}

.inv-event__title {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
}

.inv-event__links a {
    display: inline-block;
    margin-right: 12px;
    color: #9eab03;
    font-size: 13px;
    text-decoration: none;
}

.inv-event__links a:hover {
    text-decoration: underline;
}

.inv-event__links a::before {
    content: '\f1c1 ';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 4px;
}

.inv-event__note {
    display: inline-block;
    margin-right: 12px;
    color: #666;
    font-size: 13px;
}

/* Table */
.inv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 24px;
}

.inv-table th {
    background: #9eab03;
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
}

.inv-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.inv-table tr:hover td {
    background: #fcfdf0;
}

/* Stock Ticker Card */
.inv-ticker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #9eab03;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: box-shadow .2s;
}

.inv-ticker:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.inv-ticker__symbol {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.inv-ticker__badge {
    display: inline-block;
    background: #9eab03;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    padding: 3px 8px;
    border-radius: 4px;
}
.inv-ticker__badge-logo {
    height: 24px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.inv-ticker__name {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: .5px;
}

.inv-ticker__fullname {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

.inv-ticker__price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.inv-ticker__price {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -.5px;
    line-height: 1;
}

.inv-ticker__currency {
    font-size: 16px;
    font-weight: 600;
    color: #888;
}

.inv-ticker__change {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.inv-ticker__change i {
    font-size: 11px;
}

.inv-ticker__right {
    text-align: right;
    flex-shrink: 0;
}

.inv-ticker__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.inv-ticker__link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #9eab03;
    text-decoration: none;
    padding: 6px 16px;
    border: 1.5px solid #9eab03;
    border-radius: 20px;
    transition: all .2s;
}

.inv-ticker__link:hover {
    background: #9eab03;
    color: #fff;
}

.inv-ticker__link i {
    margin-left: 4px;
    font-size: 11px;
}

/* BVB Data Box */
.inv-bvb-box {
    background: linear-gradient(135deg, #9eab03 0%, #535a01 100%);
    color: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.inv-bvb-item__label {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.inv-bvb-item__value {
    font-size: 22px;
    font-weight: 700;
}

/* Prezentare card */
.inv-prezentare {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f5f8e8;
    border: 1px solid #dde8a0;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 32px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}

.inv-prezentare:hover {
    box-shadow: 0 4px 16px rgba(155, 173, 52, 0.2);
}

.inv-prezentare img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.inv-prezentare__title {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    margin-bottom: 4px;
}

.inv-prezentare__sub {
    font-size: 13px;
    color: #777;
}

.inv-prezentare__btn {
    margin-left: auto;
    display: inline-block;
    padding: 8px 20px;
    background: #9eab03;
    color: #fff !important;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
}

/* Disclaimer */
.inv-disclaimer {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-style: italic;
}

/* Responsive */
@media (max-width: 900px) {
    .inv-layout {
        flex-direction: column;
    }
    .inv-sidebar {
        flex: none;
        width: 100%;
        position: static;
    }
    .inv-hero {
        padding: 56px 0 44px;
    }
    .inv-hero h1 {
        font-size: 26px;
    }
    .inv-board {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    /*
     * Cartonașul de prezentare e un rând orizontal: poză de 120px, text, buton
     * — poza și butonul cu `flex-shrink: 0`. Sub ~600px suma lor depășește
     * lățimea ecranului și împinge toată pagina lateral. Pe telefon îl punem
     * pe verticală.
     */
    .inv-prezentare {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .inv-prezentare img {
        width: 100%;
        height: 150px;
    }
    .inv-prezentare__btn {
        margin-left: 0;
        text-align: center;
    }
    .inv-board {
        grid-template-columns: repeat(2, 1fr);
    }
    .inv-bvb-box {
        grid-template-columns: 1fr 1fr;
    }
    .inv-ticker {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
    }
    .inv-ticker__price {
        font-size: 30px;
    }
    .inv-ticker__right {
        text-align: left;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .inv-ticker__meta {
        margin-bottom: 0;
    }
    .inv-ticker__fullname {
        display: none;
    }
}
