@import url("galaxy.css");

.hid-galaxy {
    background-color: #ffffff;
}
.app-container {
    display: grid;
    height: 100vh;
}

.main-wrapper {
    display: grid;
    grid-template-columns: 240px 1fr;
    flex: 1;
}

.main-wrapper__content {
    min-width: 0;
    padding: 24px;
}

.main-heading-division {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 992px) {
    .main-heading-division {
        grid-template-columns: 1fr 442px;
    }
    .hid-form-element__selectbox-wrapper {
        max-inline-size: 442px;
    }
}
/* @media (max-width: 991px) {
    .hid-form-element__selectbox-wrapper {
        min-inline-size: 300px;
    }
} */

/* galaxy override */
.hid-galaxy .hid-header__actions {
    align-items: center;
}
.hid-side-nav--has-icon {
    svg {
        width: 24px;
        height: 24px;
    }
}
.hid-side-nav__menu-link--active {
    background-color: var(--color-alto);
    border-left: 5px solid var(--color-endeavor);
}

.hid-galaxy .hid-table__tbody-row:hover > td:first-child:before {
    content: none;
}
.hid-galaxy .hid-table__td:first-child {
    vertical-align: middle;
}
.hid-galaxy .hid-table__col-8 {
    width: 600px;
}
.hid-galaxy .hid-table__th {
    background-color: #eeeeee;
    border-block-end: 0;
    padding-block: 8px;
}
.hid-galaxy .hid-table__th[colspan] {
    border-bottom: 1px solid var(--border);
    text-align: center;
    border-inline-start: 1px solid var(--border);
    vertical-align: middle;
    border-block-start: 0;
}
.hid-galaxy .hid-table__th[rowspan], .hid-galaxy .hid-table__td[rowspan] {
    vertical-align: middle;
}
.hid-galaxy .hid-table__th[rowspan]:last-child {
    border-inline-start: 1px solid var(--border);
}
.hid-galaxy .hid-table__td[rowspan]:first-child {
    border-inline-end: 1px solid var(--border);
}
.hid-galaxy .hid-table__td {
    vertical-align: middle;
    font-weight: 500;
    ol {
        margin: 0;
    }
}
.skill-rating-low {
    color: #D31245;
}
.skill-rating-high {
    color: #00B050;
}
.hid-galaxy .skill-label {
    color: #555555;
    font-weight: 600;
}

.tabs-content-wrapper {
    max-width: 782px;
    width: 100%;
}
.hid-text-center {
    text-align: center !important;
}
.select-wrapper-tabs {
    max-inline-size: 442px;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
}
.table-actions h2 {
    flex: 1;
}
.table-actions__buttons {
    justify-content: flex-end;
    width: auto;
    column-gap: 16px;
}

.table-area-split {
    display: grid;
    grid-template-columns: 1fr 110px;
    column-gap: 24px;
}
.table-legends ol {
    margin: 16px 0 0 16px;
    padding: 0;
}
 
.hid-galaxy .hid-button--secondary {
    text-decoration: none;
    font-weight: 500;
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr minmax(450px, 350px);
    column-gap: 32px;
    flex: 1;
}

.login__welcome {
    align-items: center;
    background-color: #00539b;
    border-bottom-right-radius: 100px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: .5rem;
    text-align: center;
    margin-bottom: 24px;
    h1 {
        font-size: clamp(1.125rem, -1.06rem + 4.56vw, 3.5rem);
        line-height: 1.5;
    }
    h2 {
        font-size: clamp(.875rem, .55rem + .66vw, 1.125rem);
        font-weight: 400;
        letter-spacing: 1px;
        margin-top: 8px;
    }
}
.login__form {
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: clamp(.75rem, 1vw, .875rem);
    font-size: clamp(var(--type-size-xs), 1vw, var(--type-size-sm));
    padding: 1.5rem;
    align-self: center;
    margin-right: 32px;
}
.error-message {
    color: #d31245;
    font-weight: 500;
}
/* added by rahul */

.timeline-submenu.active,
.hid-side-nav__menu-link--active {
  background: #DDDDDD;
  border-radius: 4px;
}

/* Fix for footer positioning - ensure proper flex layout */
.main-content1 {
  overflow-x: hidden;
}

#my-team-dashboard-table-content .hid-table__responsive {
  overflow-x: auto;
  overflow-y: visible;
}

/* Ensure large tables don't break layout */
#my-team-dashboard-table-content .hid-table {
  min-width: 100%;
  table-layout: auto;
}

/* Make sure tabs content has proper scrolling when needed */
#my-team-dashboard-table-content .hid-tabs__content {
  overflow-y: auto;
  flex: 1;
}