/* Canivio Teams v1.0 */

.admin-heading__actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.system-empty {
    padding: 55px 34px;
    border: 1px solid var(--line);
    text-align: center;
    background: #ffffff;
}

.system-empty h2,
.form-section h2,
.profile-panel h2,
.team-overview h2,
.next-step-panel h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.system-empty h2 {
    font-size: 32px;
}

.system-empty p {
    color: #746d63;
    margin: 10px 0 24px;
}

.team-list {
    border-top: 1px solid var(--line);
}

.team-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 24px 2px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.team-row:hover .team-row__name {
    color: var(--gold);
}

.team-row__main {
    display: grid;
    gap: 7px;
}

.team-row__name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    transition: color .2s ease;
}

.team-row__meta,
.team-row__aside {
    color: #746d63;
    font-size: 13px;
}

.team-row__aside {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
    flex-wrap: wrap;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border: 1px solid var(--line);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.status-badge--active {
    border-color: #96a88d;
    background: #f0f4ed;
}

.status-badge--inactive {
    background: #f1eee8;
}

.status-badge--completed {
    border-color: #b8a585;
    background: #f5eee2;
}

.team-form {
    display: grid;
    gap: 26px;
}

.form-section {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 42px;
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
}

.form-section:first-of-type {
    border-top: 1px solid var(--line);
}

.form-section__heading {
    display: flex;
    gap: 17px;
}

.form-section__heading > span {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .10em;
    padding-top: 6px;
}

.form-section h2 {
    font-size: 27px;
}

.form-section__heading p {
    margin: 7px 0 0;
    color: #746d63;
    font-size: 13px;
}

.system-form--wide select,
.system-form--wide textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #fffdf9;
    color: var(--ink);
    padding: 11px 13px;
    font: inherit;
    outline: none;
}

.system-form--wide select {
    min-height: 48px;
}

.system-form--wide textarea {
    resize: vertical;
    line-height: 1.55;
}

.system-form--wide select:focus,
.system-form--wide textarea:focus {
    border-color: var(--gold);
}

.system-form__row--3 {
    grid-template-columns: 1.2fr .8fr 1fr;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    padding-top: 5px;
}

.team-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.profile-panel,
.team-overview,
.next-step-panel {
    border: 1px solid var(--line);
    background: #ffffff;
}

.profile-panel {
    padding: 30px;
}

.profile-panel__eyebrow {
    margin: 0 0 9px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.profile-panel h2,
.team-overview h2,
.next-step-panel h2 {
    font-size: 30px;
}

.profile-data {
    margin: 24px 0 0;
}

.profile-data > div {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 15px;
    padding: 10px 0;
    border-top: 1px solid rgba(217,203,184,.7);
}

.profile-data dt {
    color: #746d63;
    font-size: 12px;
    font-weight: 700;
}

.profile-data dd {
    margin: 0;
    font-size: 14px;
}

.team-overview {
    margin-top: 22px;
    padding: 30px;
}

.team-overview__header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.profile-data--horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 0 36px;
}

.profile-data--horizontal > div {
    min-width: 180px;
    grid-template-columns: auto;
    gap: 3px;
}

.team-description {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.team-description h3 {
    margin: 0 0 12px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.team-description p {
    max-width: 850px;
    margin: 0;
    line-height: 1.75;
}

.next-step-panel {
    margin-top: 22px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.next-step-panel p:not(.profile-panel__eyebrow) {
    margin: 9px 0 0;
    color: #746d63;
}

.next-step-panel__soon {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .10em;
    white-space: nowrap;
}

@media (max-width: 800px) {
    .admin-heading__actions {
        width: 100%;
        justify-content: space-between;
    }

    .team-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .team-row__aside {
        justify-content: flex-start;
    }

    .form-section {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .system-form__row--3,
    .team-profile-grid {
        grid-template-columns: 1fr;
    }

    .next-step-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* v1.1 refinements */
.team-profile-grid {
    margin-top: 4px;
}

.profile-panel,
.team-overview,
.next-step-panel {
    border-radius: 2px;
}

.profile-panel {
    min-height: 220px;
}

.profile-data > div:first-child {
    margin-top: 4px;
}

.profile-data dt {
    text-transform: uppercase;
    letter-spacing: .05em;
}

.team-overview {
    margin-top: 24px;
}

.next-step-panel {
    margin-top: 24px;
}
