#wrapper {
    width: 90%;
    height: auto;
    max-width: 950px;
    margin: 10px auto 0px auto;
}

.hide {
    display: none;
}

.title {
    text-align: center;
    font-weight: 300;
}

/*.nextbtn {
    z-index: 2;
    height: 120px;
    margin: 2px;
    text-align: center;
    color: #A5A8AB;
    bottom: 0px;
    left: 0px;
    right: 0px;
    position: fixed;
    cursor: pointer;
    background: #111;
}

    .nextbtn a{
        padding-top: 38px;
        text-decoration: none;
    }*/
/* ── Player bar (prev / play / next) ── */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    /* background: rgba(10, 10, 10, 0.90); */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 9999;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ctrl-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.ctrl-btn:focus {
    outline: none;
}

.ctrl-btn:active {
    transform: scale(0.90);
    opacity: 0.75;
}

.ctrl-skip {
    width: 48px;
    height: 48px;
}

.ctrl-skip svg {
    width: 34px;
    height: 34px;
    fill: rgba(255, 255, 255, 0.85);
}

.ctrl-play-pause {
    width: 66px;
    height: 66px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ctrl-play-pause:active {
    transform: scale(0.92);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.ctrl-play-pause svg {
    width: 28px;
    height: 28px;
    fill: #1a1a1a;
}

#iconPlay {
    margin-left: 3px;
    /* optical centering of play triangle */
}

#iconPause {
    margin-left: 0;
}



.chat ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
    margin-bottom: 80px;
}

.img-msg {
    /*border-radius: 5px !important;*/
    padding: 3px 5px 5px 5px !important;
    /*line-height: 0 !important;*/
}

.img-msg img {
    border-radius: 5px !important
}



.message-admin .message-sender {
    display: block;
    font-size: 12px;
    text-align: center;
    padding-left: 20px;
    padding-top: 4px;
    color: #999;
    font-family: Courier;
}

.message-admin a {
    color: #196090;
}

.message-left .message-sender {
    display: block;
    /* font-size: 12px; */
    text-align: left;
    /* padding-left: 20px; */
    /* padding-top: 4px; */
    color: #000;
    /* font-family: Courier; */
}

.message-right .message-sender {
    display: block;
    /* font-size: 12px; */
    /* text-align: right; */
    /* padding-right: 20px; */
    /* padding-top: 4px; */
    color: #000;
    /* font-family: Courier; */
}

.message-left .message-time {
    display: block;
    font-size: 12px;
    text-align: left;
    padding-left: 30px;
    padding-top: 4px;
    color: #000;
    font-family: Courier;
}

.message-right .message-time {
    display: block;
    font-size: 12px;
    text-align: right;
    padding-right: 20px;
    padding-top: 4px;
    color: #5ca6fa;
    font-family: Courier;
}

.message-admin {
    text-align: center;
}

.message-admin .message-text {
    width: 96%;
    max-width: 96%;
    display: inline-block;
    background: #FAD63F;
    padding: 10px 15px;
    font-size: 0.9em;
    font-style: italic;
    color: #3F3C41;
    line-height: 1.25em;
    margin-bottom: 15px;
}

.message-interaction {
    width: 60%;
    margin: auto;
    /* align-self: center; */
    display: list-item;
}

.message-interaction .message-text {
    width: 96%;
    max-width: 96%;
    display: inline-block;
    background-color: #000000;
    padding: 10px 15px;
    font-size: 0.9em;
    font-style: italic;
    color: white;
    border-radius: 10px;
    border: 1px solid #ffffff;
    line-height: 1.25em;
    margin-bottom: 15px;
}

.interaction-options {
    /*padding-top: 12px;*/
}


.inOptions {
    margin: 0 auto;
    margin-top: 10px;
    width: 60%;
    background-color: #ffffff;
    color: black;
    padding: 8px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
}


.message-left {
    text-align: left;
    margin-bottom: 20px;
}

.message-left .message-text {
    max-width: 60%;
    display: inline-block;
    background: #fff;
    padding: 5px 20px 5px 15px;
    font-size: 0.9em;
    color: #999;
    border-radius: 4px;
    line-height: 1.25em;
}

.message-left .message-text:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 11px;
    right: auto;
    bottom: -12px;
    border: 12px solid;
    border-color: transparent transparent transparent #fff;
    z-index: 1;
}



.message-right {
    text-align: right;
    margin-bottom: 20px;
    padding-right: 10px;
}

.message-right,
.message-left {
    position: relative;
}

.img-msg:after,
.audio-msg:after {
    /*display: none;*/
}

.img-msg img {
    width: 100%;
    z-index: 9999;
    position: relative;
}

.message-right .message-text:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: 21px;
    bottom: -15px;
    border: 12px solid;
    border-color: #e6e7e8 #e6e7e8 transparent transparent;
}

.message-right .message-text {
    width: 60%;
    line-height: 1.25em;
    display: inline-block;
    background: #E6E7E8;
    padding: 5px 20px 5px 15px;
    font-size: 0.9em;
    color: #808182;
    border-radius: 4px;
    /*line-height: 1.5em;*/
    text-align: left;
}

.message-contet {
    z-index: 2;
    position: relative;
}

.message-right .message-contet {
    background: #E6E7E8;
}

.message-left .message-contet {
    background: #fff;
}

.chat {
    padding: 10px 0px 0px 10px;
    background: #1A1A1A;
    position: relative;
    height: 90%;
    overflow-y: auto
}


.chat-listcontainer {
    margin-top: 40px;
    height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 2;

    background: rgba(255, 255, 255, 0.60);
    /* transparent white */
    backdrop-filter: blur(2px);
    /* optional glass effect */

    padding: 20px;
    border-radius: 12px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
}

.chat-listcontainer::-webkit-scrollbar {
    display: none;
}

.chat-container {
    height: auto;
}

.chat-message-list {
    /*height: 80%;*/
}

/*.bottom-pad {
    padding-bottom: 100px !important;
}*/




.spinme-admin {
    display: inline-block;
    padding: 15px 20px;
    font-size: 14px;
    border-radius: 30px;
    line-height: 1.25em;
    font-weight: 100;
    opacity: 0.2;
}

.spinme-right {
    display: inline-block;
    padding: 15px 20px;
    font-size: 14px;
    border-radius: 30px;
    line-height: 1.25em;
    font-weight: 100;
    opacity: 0.2;
}

.spinme-left {
    display: inline-block;
    padding: 15px 20px;
    font-size: 14px;
    color: #ccc;
    border-radius: 30px;
    line-height: 1.25em;
    font-weight: 100;
    opacity: 0.2;
}

.spinner {
    margin: 0;
    width: 30px;
    text-align: center;
}

.spinner>div {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    background: rgba(0, 0, 0, 1);
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

/*text typing - busy animation*/
@-webkit-keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0)
    }

    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

/*form mobile UI*/
@media only screen and (max-width: 720px) {

    .message-text {
        /*width: 90% !important;*/
        max-width: 90% !important;
    }

    .spinme-right,
    .spinme-left {
        left: 38% !important;
    }

    .green-audio-player {
        width: 250px !important;
        min-width: 200px !important;
        padding-right: 5px !important;
    }
}

@media only screen and (max-width: 600px) {
    .img-msg {
        width: 85%;
    }

    .img-msg img {
        width: 100%;
    }

    .inOptions {
        width: 100%;
    }
}