/* =====================================================
   SANOFI ACTIVITIES — EXCEL VIEWER
====================================================== */

.activity-tracker-section {
    width: 100%;
    /* padding: 80px 0 100px; */
    background: #F7F7F7;
}


.activity-tracker-container {
    /* width: min(1200px, calc(100% - 48px)); */
    margin: 0 auto;
}


/* =====================================================
   SECTION HEADER
====================================================== */

.activity-tracker-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 32px;
}


.activity-eyebrow {
    display: block;

    margin-bottom: 8px;

    font-family: "Sanofi Sans", Arial, sans-serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.7px;

    text-transform: uppercase;

    color: #7A00E6;
}


.activity-tracker-heading h2 {
    margin: 0 0 8px;

    font-family: "Sanofi Sans", Arial, sans-serif;

    font-size: 42px;
    font-weight: 700;

    line-height: 1.05;

    color: #23004C;
}


.activity-tracker-heading p {
    max-width: 650px;

    margin: 0;

    font-family: "Sanofi Sans", Arial, sans-serif;

    font-size: 14px;
    font-weight: 300;

    line-height: 1.6;

    color: rgba(35, 0, 76, .62);
}


/* =====================================================
   DOWNLOAD BUTTON
====================================================== */

.activity-download-wrapper {
    flex-shrink: 0;
}


.excel-download-btn {
    min-height: 50px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 24px;

    background: #7A00E6;

    color: #ffffff;

    border: 1px solid #7A00E6;

    border-radius: 7px;

    font-family: "Sanofi Sans", Arial, sans-serif;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}


.excel-download-btn:hover {
    background: #23004C;

    border-color: #23004C;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(35, 0, 76, .15);
}


.excel-download-btn i {
    font-size: 15px;
}


/* =====================================================
   EXCEL VIEWER
====================================================== */

.excel-viewer {
    width: 100%;

    background: #ffffff;

    border: 1px solid rgba(35, 0, 76, .10);

    border-radius: 9px;

    overflow: hidden;

    box-shadow:
        0 12px 35px rgba(35, 0, 76, .06);
}


/* =====================================================
   EXCEL TOP BAR
====================================================== */

.excel-topbar {
    min-height: 58px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 0 16px;

    background: #ffffff;

    border-bottom: 1px solid #E5E5E5;
}


.excel-file-info {
    display: flex;

    align-items: center;

    gap: 12px;
}


.excel-file-icon {
    width: 32px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #107C41;

    color: #ffffff;

    border-radius: 3px;

    font-family: Arial, sans-serif;

    font-size: 18px;
    font-weight: 700;
}


.excel-file-info strong {
    font-family: "Sanofi Sans", Arial, sans-serif;

    font-size: 13px;
    font-weight: 700;

    color: #1F1F1F;
}


.excel-actions {
    display: flex;

    align-items: center;

    gap: 4px;
}


.excel-action {
    height: 36px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 0 12px;

    border: 0;

    background: transparent;

    color: #303030;

    font-family: "Sanofi Sans", Arial, sans-serif;

    font-size: 11px;

    cursor: pointer;

    border-radius: 4px;
}


.excel-action:hover {
    background: #F2F2F2;
}


.excel-action i {
    color: #107C41;
}


.excel-more-btn {
    width: 36px;
    height: 36px;

    border: 0;

    background: transparent;

    cursor: pointer;

    border-radius: 4px;
}


.excel-more-btn:hover {
    background: #F2F2F2;
}


/* =====================================================
   EXCEL TOOLBAR
====================================================== */

.excel-toolbar {
    min-height: 50px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 6px 10px;

    background: #FAFAFA;

    border-bottom: 1px solid #E5E5E5;

    overflow-x: auto;
}


.excel-toolbar-group {
    display: flex;

    align-items: center;

    gap: 2px;
}


.excel-toolbar button {
    min-width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 0;

    background: transparent;

    color: #343434;

    cursor: pointer;

    border-radius: 4px;
}


.excel-toolbar button:hover {
    background: #EAEAEA;
}


.excel-toolbar button strong {
    font-size: 16px;
}


.excel-toolbar button em {
    font-family: Georgia, serif;
    font-size: 16px;
}


.excel-toolbar button u {
    font-size: 15px;
}


.text-color-button {
    font-size: 16px;

    border-bottom: 3px solid #E51C23 !important;
}


.toolbar-divider {
    width: 1px;
    height: 26px;

    margin: 0 5px;

    background: #DADADA;
}


.excel-font-select,
.excel-font-size,
.excel-format-select {
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 0 9px;

    background: #ffffff;

    border: 1px solid #D9D9D9;

    border-radius: 3px;

    font-family: "Sanofi Sans", Arial, sans-serif;

    font-size: 11px;

    color: #333333;
}


.excel-font-select {
    min-width: 120px;
}


.excel-font-size {
    min-width: 55px;
}


.excel-format-select {
    min-width: 105px;
}


.excel-font-select i,
.excel-font-size i,
.excel-format-select i {
    font-size: 8px;

    color: #777777;
}


/* =====================================================
   FORMULA BAR
====================================================== */

.excel-formula-bar {
    height: 38px;

    display: flex;

    align-items: center;

    background: #ffffff;

    border-bottom: 1px solid #DCDCDC;
}


.excel-cell-name {
    width: 100px;

    height: 100%;

    display: flex;

    align-items: center;

    padding-left: 12px;

    border-right: 1px solid #DCDCDC;

    font-family: Arial, sans-serif;

    font-size: 11px;

    color: #333333;
}


.formula-symbol {
    width: 42px;

    display: flex;

    justify-content: center;

    font-family: Georgia, serif;

    font-size: 15px;

    font-style: italic;

    color: #555555;
}


.formula-input {
    flex: 1;

    height: 100%;
}


/* =====================================================
   SPREADSHEET WRAPPER
====================================================== */

.excel-spreadsheet-wrapper {
    width: 100%;

    overflow-x: auto;
    overflow-y: auto;

    max-height: 460px;

    background: #ffffff;
}


.excel-spreadsheet {
    min-width: 900px;
}


/* =====================================================
   SPREADSHEET TABLE
====================================================== */

.excel-table {
    width: 100%;

    border-collapse: collapse;

    table-layout: auto;

    font-family: Arial, sans-serif;

    font-size: 12px;

    color: #202020;
}


.excel-table th {
    height: 38px;

    padding: 0 10px;

    text-align: left;

    white-space: nowrap;

    background: #7A00E6;

    color: #ffffff;

    border-right: 1px solid rgba(255,255,255,.2);

    font-weight: 700;
}


.excel-table td {
    min-height: 36px;

    padding: 9px 10px;

    white-space: nowrap;

    background: #ffffff;

    border-right: 1px solid #DCDCDC;

    border-bottom: 1px solid #DCDCDC;
}


.excel-table tr:nth-child(even) td {
    background: #FBFBFB;
}


.excel-table tr:hover td {
    background: #F3EDFA;
}


/* Row numbers */

.excel-row-number {
    width: 42px !important;

    min-width: 42px !important;

    max-width: 42px !important;

    text-align: center !important;

    padding: 0 !important;

    background: #F4F4F4 !important;

    color: #555555 !important;

    border-right: 1px solid #D0D0D0 !important;

    font-weight: 400 !important;
}


.excel-table thead .excel-row-number {
    background: #F4F4F4 !important;
}


/* =====================================================
   LOADING
====================================================== */

.excel-loading {
    min-height: 280px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 12px;

    color: #7A00E6;

    font-family: "Sanofi Sans", Arial, sans-serif;

    font-size: 12px;
}


/* =====================================================
   SHEET FOOTER
====================================================== */

.excel-sheet-footer {
    height: 44px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 0 10px;

    background: #F5F5F5;

    border-top: 1px solid #DCDCDC;
}


.sheet-menu-btn,
.sheet-add-btn {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 0;

    background: transparent;

    color: #444444;

    cursor: pointer;
}


.sheet-menu-btn:hover,
.sheet-add-btn:hover {
    background: #E5E5E5;
}


.sheet-tab {
    height: 34px;

    display: flex;

    align-items: center;

    padding: 0 20px;

    background: #ffffff;

    border-bottom: 3px solid #107C41;

    font-family: Arial, sans-serif;

    font-size: 11px;

    font-weight: 700;

    color: #202020;
}


/* =====================================================
   INFORMATION MESSAGE
====================================================== */

.excel-info {
    min-height: 62px;

    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 14px;

    padding: 0 20px;

    background: #F3EEFA;

    border: 1px solid rgba(122, 0, 230, .16);

    border-radius: 7px;
}


.excel-info-icon {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #7A00E6;

    font-size: 18px;
}


.excel-info p {
    margin: 0;

    font-family: "Sanofi Sans", Arial, sans-serif;

    font-size: 12px;
    font-weight: 300;

    color: rgba(35, 0, 76, .68);
}


/* =====================================================
   RESPONSIVE
====================================================== */

@media (max-width: 800px) {

    .activity-tracker-section {
        padding: 60px 0 70px;
    }


    .activity-tracker-container {
        width: min(100% - 32px, 1200px);
    }


    .activity-tracker-header {
        display: block;
    }


    .activity-tracker-heading h2 {
        font-size: 36px;
    }


    .activity-download-wrapper {
        margin-top: 22px;
    }


    .excel-download-btn {
        width: 100%;
    }


    .excel-actions .excel-action {
        padding: 0 8px;
    }


    .excel-actions .excel-action span {
        display: none;
    }

}