
.cc-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    outline: 0;
    transition: opacity .15s linear;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: normal;
    background-color:rgba(20,20,20,.75);
    font-family: system-ui, sans-serif;
}

.cc-modal:not(.open) {
    display: none;
    opacity: 0;
}

.cc-modal.open {
    overflow-x: hidden;
    overflow-y: auto;
}

.cc-modal h2 {
    font-size: 1.8em;font-weight: bold;
}
.cc-modal h3 {
    font-size: 20px;
}

.cc-modal .cc-modal__dialog {
    transition: transform .3s ease-out;
    transform: translate(0,-50px);

    position: relative;
    margin: 1.75em auto;
    inline-size: calc(100% - 1em);
    pointer-events: none;
    max-inline-size: 42em;
    max-block-size:80vh;
}

.cc-modal.open .cc-modal__dialog {
    transform: none;
}

.cc-modal__content {
    position: relative;
    display: flex;
    flex-direction: column;
    inline-size: 100%;
    pointer-events: auto;
    background-color: #f8f9fa;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0.3em;
    outline: 0;
}

.cc-modal__content > * {
    padding: 1em;
}

.cc-modal__content > * > * {
    margin-block: unset;
}

.cc-modal__header {
    border-bottom: 1px solid;
}

.cc-modal__body > * + * {
    margin-top: .5em;
}
.cc-modal__body label input{
    margin-right:5px;
}
.cc-modal__footer {
    display: flex;
    align-items: stretch;
    gap: .5em;
    border-top: 1px solid;
}

.cc-modal__button {
    flex:  1;
    color: #1a73e8;
    background-color: #ffffff;
    border: 1px solid #dadce0;
    border-radius: .25em;
    padding:  8px 20px;
    cursor: pointer;
    transition: background-color .2s,box-shadow .2s,color .2s;
}

.cc-modal__button:hover,
.cc-modal__button:focus {
    background-color: #f6f9fe;
    border-color: #1a73e8;
    color: #174ea6;
}

.cc-modal__button--active {
    color: #ffffff;
    background-color: #1a73e8;
    border-color: #1a73e8;
}

.cc-modal__button--active:hover,
.cc-modal__button--active:focus {
    box-shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
    background-color: #185abc;
    color: #ffffff;
}

.cc-modal__button--settings {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    inset-block-end: 0em;
    inset-inline-start: 0em;
    border: none;
    font-size:11px;
    background: transparent;
    bottom:0;z-index: 80;
    background:#bb1544;color:#fff;
    padding:1px 5px;
    border-radius:0 5px 0px 0;
}

.cc-modal__button--settings svg {
    inline-size: 1em;
    block-size: 1em;
}

.cc-modal__button-close {
    border: none;
    background: transparent;
    float: right;
}


.cc-modal details {
    padding: .5em;
    border: 1px solid #dadce0;
    border-radius: .25em;
}

.cc-modal details summary {
    cursor: pointer;
}

.cc-modal details summary > * {
    display: inline;
}
.cc-modal details div p{font-size:12px;}
details[open] summary {
    border-bottom: 1px solid #dadce0;
    margin-bottom: 0.5em;
}

.cc-modal details > div > * {
    margin-bottom: unset;
}

.cc-modal details > div > * + * {
    margin-top: .5em;
}
