.ss-mask {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.ss-mode-sheet {
    background: rgba(0, 0, 0, .4);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.ss-mode-dropdown {
    background: transparent;
}

.ss-mode-inline {
    position: static;
    z-index: auto;
    background: transparent;
}

.ss-panel {
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ss-mode-sheet .ss-panel {
    width: 100%;
    max-width: 480px;
    max-height: 70vh;
    border-radius: .4rem .4rem 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .15);
}

.ss-mode-dropdown .ss-panel {
    position: fixed;
    width: 300px;
    max-width: calc(100vw - 16px);
    max-height: 360px;
    border-radius: .4rem;
    border: 1px solid #dddddd;
    box-shadow: 0 6px 28px rgba(0, 0, 0, .28);
}

.ss-mode-inline .ss-panel {
    width: 100%;
    background: transparent;
}

.ss-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 1rem;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    font-weight: bold;
    color: #333333;
}

.ss-mode-sheet .ss-header {
    display: flex;
}

.ss-close {
    cursor: pointer;
    color: #999999;
    font-size: 1.3rem;
    line-height: 1;
    padding: 0 .3rem;
}

.ss-close:hover {
    color: #666666;
}

.ss-search {
    padding: .6rem .8rem;
    border-bottom: 1px solid #eee;
}

.ss-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dddddd;
    border-radius: .3rem;
    padding: .5rem .6rem;
    font-size: .95rem;
    outline: none;
    transition: border-color .15s;
}

.ss-input:focus {
    border-color: #E4322D;
}

.ss-mode-dropdown .ss-input {
    height: 40px;
    padding: 0 .6rem;
    font-size: 14px;
}

.ss-mode-dropdown .ss-item {
    font-size: 14px;
}

.ss-list {
    overflow-y: auto;
    flex: 1;
}

.ss-mode-inline .ss-list {
    max-height: 40vh;
}

.ss-mode-inline .ss-search {
    padding: 0;
    border-bottom: none;
}

.ss-list::-webkit-scrollbar {
    width: 6px;
}

.ss-list::-webkit-scrollbar-thumb {
    background: #dddddd;
    border-radius: 3px;
}

.ss-item {
    padding: .7rem 1rem;
    font-size: .95rem;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f5f5f5;
}

.ss-item:last-child {
    border-bottom: none;
}

.ss-item:hover {
    background: #f8f8f8;
}

.ss-item-current {
    background: #fff6f5;
}

.ss-item-code {
    font-weight: 600;
    min-width: 3.6rem;
    flex-shrink: 0;
}

.ss-item-name {
    color: #666666;
    flex: 1;
}

.ss-item-current .ss-item-code,
.ss-item-current .ss-item-name {
    color: #E4322D;
}

.ss-item-check {
    color: #E4322D;
    font-weight: bold;
    margin-left: .5rem;
    flex-shrink: 0;
}

.ss-confirm {
    padding: .8rem;
    border-top: 1px solid #eee;
}

.ss-confirm-btn {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: .3rem;
    background: #E4322D;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
}

.ss-confirm-btn:disabled {
    background: #f5f5f5;
    color: #bbbbbb;
    cursor: not-allowed;
}

.ss-processing {
    opacity: .5;
    pointer-events: none;
    transition: opacity .15s;
}

.ss-empty {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #999999;
    font-size: .9rem;
}
