.crew-webpush {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 10020;
    font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

.crew-webpush-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 17px;
    border: 1px solid rgba(105, 175, 255, .48);
    border-radius: 24px;
    background: linear-gradient(135deg, #173b68, #0c213e);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .34);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.crew-webpush-toggle:hover,
.crew-webpush-toggle:focus {
    border-color: #79baff;
    background: linear-gradient(135deg, #20528f, #102d52);
    outline: none;
}

.crew-webpush-bell {
    position: relative;
    display: inline-block;
    width: 17px;
    height: 17px;
    color: transparent;
}

.crew-webpush-bell::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 1px;
    width: 11px;
    height: 12px;
    border-radius: 8px 8px 4px 4px;
    background: #ffd45c;
}

.crew-webpush-bell::after {
    content: "";
    position: absolute;
    left: 7px;
    bottom: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ffe9a3;
}

.crew-webpush-panel {
    position: absolute;
    left: 0;
    bottom: 58px;
    width: 350px;
    max-width: calc(100vw - 32px);
    padding: 20px;
    border: 1px solid rgba(111, 173, 241, .34);
    border-radius: 18px;
    background: rgba(10, 20, 36, .98);
    color: #eaf4ff;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .48);
}

.crew-webpush-panel[hidden] {
    display: none !important;
}

.crew-webpush-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.crew-webpush-panel-head strong {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
}

.crew-webpush-panel-head p {
    margin: 6px 0 0;
    color: #9db1c8;
    font-size: 12px;
    line-height: 1.55;
}

.crew-webpush-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #bcd0e6;
    font-size: 23px;
    line-height: 30px;
    cursor: pointer;
}

.crew-webpush-status {
    margin: 16px 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(75, 142, 215, .12);
    color: #b8d8fa;
    font-size: 12px;
    line-height: 1.5;
}

.crew-webpush-status.is-success {
    background: rgba(53, 183, 119, .13);
    color: #91e8bd;
}

.crew-webpush-status.is-error {
    background: rgba(232, 79, 93, .14);
    color: #ffabb3;
}

.crew-webpush-options {
    display: grid;
    gap: 8px;
}

.crew-webpush-options label {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 52px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 11px;
    background: rgba(255, 255, 255, .035);
    cursor: pointer;
}

.crew-webpush-options label:hover {
    border-color: rgba(102, 175, 255, .4);
    background: rgba(77, 147, 222, .08);
}

.crew-webpush-options label:has(input:disabled) {
    cursor: default;
    opacity: .58;
}

.crew-webpush-options label:has(input:disabled):hover {
    border-color: rgba(255, 255, 255, .09);
    background: rgba(255, 255, 255, .035);
}

.crew-webpush-options input {
    width: 18px;
    height: 18px;
    accent-color: #4c9ef8;
}

.crew-webpush-options span {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.crew-webpush-options b {
    color: #edf6ff;
    font-size: 14px;
}

.crew-webpush-options small {
    color: #8398af;
    font-size: 11px;
}

.crew-webpush-ios-help,
.crew-webpush-note {
    margin: 12px 0 0;
    color: #91a6bd;
    font-size: 11px;
    line-height: 1.6;
}

.crew-webpush-ios-help {
    padding: 10px 11px;
    border-radius: 9px;
    background: rgba(255, 196, 75, .1);
    color: #f3d488;
}

.crew-webpush-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.crew-webpush-actions button {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.crew-webpush-save {
    flex: 1;
    border: 1px solid #56aaff;
    background: linear-gradient(135deg, #2877ca, #19548e);
    color: #fff;
}

.crew-webpush-disable {
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .06);
    color: #b9c9d9;
}

.crew-webpush-actions button:disabled {
    cursor: wait;
    opacity: .6;
}

@media (max-width: 600px) {
    .crew-webpush {
        left: 14px;
        bottom: 14px;
    }

    .crew-webpush-toggle {
        min-height: 43px;
        padding: 0 14px;
        font-size: 13px;
    }

    .crew-webpush-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 66px;
        width: auto;
        max-width: none;
        padding: 17px;
    }

    .crew-webpush-options span {
        display: block;
    }

    .crew-webpush-options small {
        display: block;
        margin-top: 3px;
    }
}
