.details-drawer-backdrop,
.dialog-backdrop {
    position: fixed;
    z-index: 1000;
    inset: 0;
    background: rgba(22, 36, 47, .22);
}

.details-drawer {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(390px, 92vw);
    height: 100%;
    border-left: 1px solid #9eabb3;
    background: #fff;
    box-shadow: -4px 0 14px rgba(0, 0, 0, .16);
}

.details-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: .8rem 1rem .65rem;
    border-bottom: 1px solid #d3dce1;
    background: #f5f8f9;
}

.details-drawer-header h2 {
    margin: .15rem 0 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.details-drawer-kicker {
    color: #63727b;
    font-size: .68rem;
    letter-spacing: .08em;
}

.drawer-close {
    padding: 0 .35rem;
    border: 0;
    background: transparent;
    color: #53636d;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.details-drawer form {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.details-drawer-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .55rem;
    overflow-y: auto;
    padding: .8rem 1rem;
}

.details-drawer-body label {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    color: #52616a;
    font-size: .78rem;
}

.details-drawer-body input,
.drawer-input {
    box-sizing: border-box;
    width: 100%;
    min-height: 30px;
    padding: .25rem .4rem;
    border: 1px solid #b8c4ca;
    border-radius: 3px;
    color: #263746;
}

.details-drawer-body input:disabled {
    background: #edf1f3;
}

.drawer-checkbox {
    flex-direction: row !important;
    align-items: center;
    gap: .45rem !important;
}

.drawer-checkbox input {
    width: auto;
    min-height: auto;
}

.drawer-message {
    margin: .2rem 0 0;
    color: #a33b32;
}

.details-drawer-footer {
    display: flex;
    justify-content: flex-end;
    gap: .45rem;
    padding: .65rem 1rem;
    border-top: 1px solid #d3dce1;
}

.add-team-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(410px, 92vw);
    max-height: 92vh;
    transform: translate(-50%, -50%);
    overflow: hidden;
    border: 1px solid #9eabb3;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .2);
}

.add-team-dialog .details-drawer-body {
    max-height: calc(92vh - 130px);
}

.required-marker {
    color: #a33b32;
}

.details-drawer-body small {
    color: #75828a;
    font-size: .7rem;
}
