﻿/* Generic families must not be quoted: 'sans-serif' is a font name, so without Segoe UI (macOS) browsers fell back to a serif font. */
body {
    font-family: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif !important;
    color: black !important;
    font-size: 16px !important;
    height: 100%;
    margin: 0;
}

.cm-content {
    min-height: 100%;
    margin-bottom: 20px;
}

.cm-top-nav-bar {
    background-color: #004578 !important;
    margin-bottom: 0px;
    border: 0px;
    height:48px;
    border-radius: 0;
}

.cm-menu-bar {
    background-color: #F9F9F9 !important;
    margin-top: -168px;
}

.cm-signin {
    color: #ffffff !important;
    font-size: 16px;
    vertical-align: middle;
    margin-top: 20px;
}

.cm-username {
    border-right: solid 1px white;
    padding-right: 6px;
}

.cm-language {
    margin-right: 16px;
}

.cm-language a {
    color: #fff;
    opacity: 0.75;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
}

.cm-language a:hover,
.cm-language a.active {
    opacity: 1;
}

.cm-language a.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.cm-logout {
    vertical-align: middle;
    padding-left: 2px;
}

.placeholder {
    width: 160px !important;
}

.text-white {
    color: white !important;
}

.cm-menu-item {
    color: black !important;
    padding: 0px !important;
}

.cm-menu-item-active {
    background-color: #D0CCCC;
}

.cm-logo {
    /*border-style: none;
    width: auto;
    padding: 8px;
    
    width: 30%;*/
    border-style: none;
    width: auto;
    margin-left: -10px;
    padding: 8px;
    max-height: 50px;
}

.cm-panel-default {
    background: #F9F9F9 !important;
    border-radius: 0px;
    padding: 20px;
}

.cm-section-heading {
    font-family: inherit !important;
    font-size: 25px;
    background-color: #fff;
    border-bottom: 4px solid #2180a6;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 40px;
    color: black;
}

.p10 {
    padding: 10px;
}

.w286 {
    width: 286px;
}

.w120 {
    width: 120px;
}

.w200 {
    width: 200px;
}

.mr250 {
    margin-right: 250px;
}

.mt100 {
    margin-top: 100px;
}

.mt200 {
    margin-top: 200px;
}

.mt20 {
    margin-top: 20px;
}

.mt40 {
    margin-top: 40px;
}

.cm-button-default {
    color: #fff !important;
    background-color: #004578;
    border-color: #2e6da4;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: 25px;
    margin-bottom: 20px;
}

    .cm-button-default:hover {
        background-color: #2180a6;
        border-radius: 5px;
        padding: 12px 20px;
        font-size: 18px;
        font-weight: bold;
        color: #004578;
    }

.cm-button-error {
    color: #fff;
    background-color: #004578 !important;
    border-color: #2e6da4;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: 25px;
    margin-bottom: 20px;
}

    .cm-button-error:hover {
        background-color: #EAE7E7 !important;
        border-radius: 5px;
        padding: 12px 20px;
        font-size: 18px;
        font-weight: bold;
        color: #004578;
    }

.cm-button-success {
    color: #fff;
    background-color: #256525;
    border-color: #2e6da4;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: 25px;
    margin-bottom: 20px;
}

    .cm-button-success:hover {
        background-color: #EAE7E7;
        border-radius: 5px;
        padding: 12px 20px;
        font-size: 18px;
        font-weight: bold;
        color: #004578;
    }

.cm-button-danger {
    color: #fff;
    background-color: #EA2333;
    border-color: #2e6da4;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: 25px;
    margin-bottom: 20px;
}

    .cm-button-danger:hover {
        background-color: #EAE7E7;
        border-radius: 5px;
        padding: 12px 20px;
        font-size: 18px;
        font-weight: bold;
        color: #004578;
    }

.cm-table {
    background: #ffffff !important;
    font-size: 16px;
}

    .cm-table th {
        padding: 10px !important;
    }

    .cm-table td {
        padding: 10px !important;
    }

.cm-table-head th {
    text-align: center;
    background: #F9F9F9 !important;
    font-size: 14px;
}

.cm-ellipsis {
    text-align: center !important;
}

    .cm-ellipsis a {
        color: black !important;
    }

.cm-minus-circle {
    text-align: center;
}

    .cm-minus-circle a {
        color: black !important;
    }

.cm-link-button {
    cursor: pointer;
}

    .cm-link-button:hover {
        cursor: pointer;
        color: #004578 !important;
    }

/*.cm-footer {
    background-color: #F9F9F9;
    position: absolute !important
}*/

.cm-container {
    margin-left: 80px;
}

.cm-footer, .cm-push {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #E6E6E6;
    font-size: 12px !important;
    color: black !important;
    height: 20px;
    line-height: 20px;
}

a.cm-dropdown-option {
    background: transparent !important;
    color: black;
    cursor: pointer;
}

    a.cm-dropdown-option:hover {
        background: transparent !important;
        color: #004578 !important;
        cursor: pointer;
    }

.mrtop {
    margin-top: 25px !important;
}

.maxwidth {
    width: 1300px !important;
}


.mr420 {
    margin-right: !important;
}
.red-star {
    color: red;
}

/* Teams Governor activation pages (onboarding, consent, plan, success, error).
   Same look as the Teams Governor app: Fluent UI font stack and Teams brand colours (teamsLightTheme). */
.tg-activation,
.tg-modal {
    --tg-brand: #5B5FC7;
    --tg-brand-hover: #4F52B2;
    --tg-brand-pressed: #444791;
    --tg-brand-tint: #E8EBFA;
    --tg-text: #242424;
    --tg-text-muted: #616161;
    --tg-border: #E0E0E0;
    --tg-success: #107C10;
    --tg-warning: #C19C00;
    --tg-danger: #C4314B;
    font-family: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
    color: var(--tg-text);
}

.tg-activation {
    max-width: 880px;
    margin: 32px auto 48px;
    padding: 0 16px;
}

/* Subscription list: same card, wider for the table. */
.tg-activation.tg-wide {
    max-width: 1200px;
}

.tg-activation-card {
    background: #fff;
    border: 1px solid var(--tg-border);
    border-top: 4px solid var(--tg-brand);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 32px 40px;
}

.tg-activation-card.tg-success { border-top-color: var(--tg-success); }
.tg-activation-card.tg-warning { border-top-color: var(--tg-warning); }
.tg-activation-card.tg-error { border-top-color: var(--tg-danger); }

/* Header: logo, product name, progress. */
.tg-activation-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.tg-activation-brand img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.tg-activation-brand span {
    font-size: 18px;
    font-weight: 600;
}

.tg-activation-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.tg-activation-progress li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    background: #F5F5F5;
    color: var(--tg-text-muted);
    font-size: 14px;
}

.tg-activation-progress .tg-progress-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--tg-border);
    font-weight: 600;
    font-size: 13px;
}

.tg-activation-progress li[aria-current="step"] {
    background: var(--tg-brand-tint);
    color: var(--tg-brand-pressed);
    font-weight: 600;
}

.tg-activation-progress li[aria-current="step"] .tg-progress-number {
    background: var(--tg-brand);
    border-color: var(--tg-brand);
    color: #fff;
}

.tg-activation-progress li.tg-done .tg-progress-number {
    background: var(--tg-success);
    border-color: var(--tg-success);
    color: #fff;
}

.tg-activation-eyebrow {
    color: var(--tg-brand-pressed);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.tg-activation h1 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 16px;
}

.tg-activation h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 28px 0 12px;
}

.tg-activation p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.tg-activation-notice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #F1FAF1;
    border: 1px solid #9FD89F;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 20px 0;
    font-size: 15px;
}

.tg-activation-notice::before {
    content: "\2714";
    color: var(--tg-success);
    font-weight: 700;
}

/* Steps: small numbered cards. */
.tg-activation-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: tg-step;
}

.tg-activation-steps li {
    counter-increment: tg-step;
    border: 1px solid var(--tg-border);
    border-radius: 8px;
    padding: 16px;
    background: #FAFAFA;
    font-size: 14px;
    line-height: 1.45;
}

.tg-activation-steps li::before {
    content: counter(tg-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: var(--tg-brand-tint);
    color: var(--tg-brand-pressed);
    font-weight: 600;
}

.tg-activation-steps strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

/* Actions: one primary, one secondary. */
.tg-activation-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.tg-button-primary,
.tg-button-secondary,
.tg-button-danger {
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.1s ease-in-out;
}

.tg-button-primary {
    background: var(--tg-brand);
    border: 1px solid var(--tg-brand);
    color: #fff !important;
}

.tg-button-primary:hover { background: var(--tg-brand-hover); }
.tg-button-primary:active { background: var(--tg-brand-pressed); }

.tg-button-secondary {
    background: #fff;
    border: 1px solid #D1D1D1;
    color: var(--tg-text) !important;
    font-weight: 400;
}

.tg-button-secondary:hover { background: #F5F5F5; }

.tg-button-danger {
    background: #fff;
    border: 1px solid var(--tg-danger);
    color: var(--tg-danger) !important;
    font-weight: 400;
}

.tg-button-danger:hover { background: #FDF3F4; }

.tg-activation-actions button:disabled {
    cursor: progress;
    opacity: 0.7;
}

.tg-details {
    display: grid;
    grid-template-columns: minmax(160px, 220px) 1fr;
    margin: 0 0 8px;
    border: 1px solid var(--tg-border);
    border-radius: 8px;
    overflow: hidden;
}

.tg-details dt,
.tg-details dd {
    margin: 0;
    padding: 10px 16px;
    border-top: 1px solid var(--tg-border);
}

.tg-details dt:first-of-type,
.tg-details dt:first-of-type + dd {
    border-top: 0;
}

.tg-details dt {
    background: #FAFAFA;
    color: var(--tg-text-muted);
    font-weight: 400;
}

.tg-details dd {
    overflow-wrap: anywhere;
}

.tg-details-code {
    font-family: Consolas, "Courier New", monospace;
    font-size: 14px;
}

.tg-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--tg-brand-tint);
    color: var(--tg-brand-pressed);
    font-size: 14px;
    font-weight: 600;
}

.tg-status.tg-status-success { background: #F1FAF1; color: var(--tg-success); }
.tg-status.tg-status-warning { background: #FBF6D9; color: #835B00; }
.tg-status.tg-status-danger { background: #FDF3F4; color: var(--tg-danger); }
.tg-status.tg-status-neutral { background: #F5F5F5; color: var(--tg-text-muted); }

/* Subscription list. */
.tg-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--tg-border);
    border-radius: 8px;
}

.tg-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 15px;
}

.tg-table th,
.tg-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: middle;
    border-top: 1px solid var(--tg-border);
}

.tg-table thead th {
    border-top: 0;
    background: #FAFAFA;
    color: var(--tg-text-muted);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.tg-table tbody tr:hover {
    background: #FAFAFA;
}

.tg-table .tg-status {
    white-space: nowrap;
}

.tg-subscription-id {
    display: block;
    margin-top: 2px;
    color: var(--tg-text-muted);
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
}

/* Which subscription Teams Governor uses for the tenant. */
.tg-usage {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    white-space: nowrap;
}

.tg-usage::before {
    font-weight: 700;
    margin-right: 4px;
}

.tg-usage-used { color: var(--tg-brand-pressed); font-weight: 600; }
.tg-usage-used::before { content: "\2714"; }
.tg-usage-unused { color: #835B00; }
.tg-usage-unused::before { content: "!"; }

.tg-activation-notice.tg-notice-warning {
    background: #FBF6D9;
    border-color: #F2E08A;
}

.tg-activation-notice.tg-notice-warning::before {
    content: "!";
    color: #835B00;
}

.tg-table .tg-table-actions {
    width: 1%;
    text-align: center;
}

.tg-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    color: var(--tg-text) !important;
    text-decoration: none;
}

.tg-menu-button:hover,
.tg-menu-button[aria-expanded="true"] {
    background: var(--tg-brand-tint);
    color: var(--tg-brand-pressed) !important;
}

.tg-activation .dropdown-menu,
.tg-modal .dropdown-menu {
    border: 1px solid var(--tg-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 4px;
    font-size: 15px;
}

.tg-activation .dropdown-item {
    border-radius: 4px;
    padding: 8px 12px;
    color: var(--tg-text) !important;
}

.tg-activation .dropdown-item:hover,
.tg-activation .dropdown-item:focus {
    background: var(--tg-brand-tint) !important;
    color: var(--tg-brand-pressed) !important;
}

.tg-activation .dropdown-item.tg-danger-item {
    color: var(--tg-danger) !important;
}

.tg-activation .dropdown-item.tg-danger-item:hover {
    background: #FDF3F4 !important;
}

/* Modals (change plan, change quantity, activity log), loaded into #myModal. */
.tg-modal .modal-content {
    border: 1px solid var(--tg-border);
    border-top: 4px solid var(--tg-brand);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.tg-modal .modal-header {
    border-bottom: 0;
    padding: 24px 32px 0;
}

.tg-modal .modal-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.tg-modal .modal-body {
    padding: 20px 32px 28px;
}

.tg-modal .form-control,
.tg-modal .form-select {
    font-family: inherit;
    font-size: 15px;
    border-color: #D1D1D1;
    border-radius: 6px;
    min-height: 40px;
}

.tg-modal .form-control:focus,
.tg-modal .form-select:focus {
    border-color: var(--tg-brand);
    box-shadow: 0 0 0 2px var(--tg-brand-tint);
}

.tg-modal .tg-activation-actions {
    justify-content: flex-end;
    margin-top: 20px;
}

.tg-modal .tg-table {
    font-size: 14px;
}

.tg-activation-actions a:focus-visible,
.tg-activation-actions button:focus-visible {
    outline: 2px solid var(--tg-text);
    outline-offset: 2px;
}

.tg-activation-hint {
    color: var(--tg-text-muted);
    font-size: 14px;
    margin-top: 12px;
}

.tg-activation-reference {
    color: var(--tg-text-muted);
    font-size: 13px;
    margin: 24px 0 0;
}

@media (max-width: 768px) {
    .tg-activation-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .tg-activation {
        margin-top: 16px;
        padding: 0 8px;
    }

    .tg-activation-card {
        padding: 24px 20px;
    }

    .tg-activation h1 {
        font-size: 24px;
    }

    .tg-activation-actions a,
    .tg-activation-actions button {
        width: 100%;
    }

    .tg-details {
        grid-template-columns: 1fr;
    }

    .tg-modal .modal-header,
    .tg-modal .modal-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tg-details dt {
        padding-bottom: 2px;
    }

    .tg-details dd {
        border-top: 0;
        padding-top: 2px;
    }
}
