:root {
    --primary-color: #302AE6;
    --secondary-color: #ffffff;
    --font-color: #1d253b;
    --bg-color: #f5f6fa;
    --heading-color: #6c7893;
    --box-shadow-color: #838384;
    --btn-bgcolor: #6c7893;
    --box-bg-color: #27293d;
    --btn-font: #ffffff;
    --theme-color: #ec250d;
    --border-color:#c5c5c5; 
    --bg-gradient: linear-gradient(to bottom left,#fd5d93,#ec250d,#fd5d93);
    --secondary-bg-gradient: linear-gradient(to bottom left, #f6ca6b,#d99f22,#f6ca6b);
}
[data-theme="dark"] {
    --primary-color: #9A97F3;
    --secondary-color: #27293d;
    --font-color: #fff;
    --bg-color: #1e1e2d;
    --heading-color: #292945;
    --box-shadow-color: #292943;
    --btn-bgcolor: #e2e4e9;
    --box-bg-color: #27293d;
    --btn-font: #ffffff;
    --theme-color: #ec250d;
    --border-color:#4e4e4e;
    --bg-gradient: linear-gradient(to bottom left,#fd5d93,#ec250d,#fd5d93);
    --secondary-bg-gradient: linear-gradient(to bottom left, #f6ca6b,#d99f22,#f6ca6b);
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url(./../webfonts/poppins/pxiEyp8kv8JHgFVrJJbecmNE.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url(./../webfonts/poppins/pxiEyp8kv8JHgFVrJJnecmNE.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url(./../webfonts/poppins/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
body {
    font-family: Poppins !important;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    color: var(--font-color);
}
video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#username{
    cursor: pointer;
    text-transform: capitalize;
    color: var(--theme-color);
}
.colored-text {
    color: var(--theme-color);   
}
#partnerName {
    color: var(--theme-color);   
}
#permission {
    top: 0;
    position: absolute;
    left: 125px;
}
.input-group input, .input-group input:focus, .input-group input:active, .input-group input:hover{
    background: transparent;
    border: 0;
    border-bottom: 2px solid #273E47;
    color: #a4243b;
    border-radius: 0 !important;
}
.btn-theme {
    border: 0;
    color: var(--btn-font);
    padding: 1px 25px;
    position: relative;
    font-weight: 600;
    background: var(--bg-gradient);
    z-index: 0;
    transition: all .5s linear;
}
.btn.disabled {
    cursor: not-allowed;
}
.hide {
    display: none;
}
:focus {
    outline: none;
    box-shadow: none !important;
}
.btn-theme:focus,
.btn-theme:hover {
    outline: none;
    box-shadow: none;
    color: #fff;
    transform: translateY(-1px);
    -webkit-transform: translateY(-1px);
}
.btn-outline-secondary:not(:disabled):not(.disabled).active, .btn-outline-secondary:not(:disabled):not(.disabled):active, .show>.btn-outline-secondary.dropdown-toggle {
    color: var(--theme-color);
    background-color: transparent;
    border-color: transparent;
    box-shadow: none !important;
}
header {
    background: var(--secondary-color);
    box-shadow: 0 1px 9px var(--box-shadow-color);
    color: var(--font-color);
    height: 50px;
}
header .container-fluid{
    padding-top: 7px;
}
.logo-link {
    margin-left: 10px;
}
.local-video-container, .remote-video-container {
    width: 100%;
    height: 43.5vh;
    box-shadow: 0 1px 5px var(--box-shadow-color);
    background: var(--secondary-color);
    position: relative;
    text-align: center;
    margin-bottom: 15px;
}
.remote-user-info {
    margin: 5px;
    font-size: 12px;
    background: #b5a5a51c;
    width: fit-content;
    padding: 3px 5px;
    position: absolute;
    top: 0;
    font-weight: 600;
    color: #fff;
}
.dashboard {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.main {
    height: 90%
}
#partnerCountry {
    vertical-align: middle;
    margin-right: 4px;
}
.btn-actions {
    box-shadow: 0 1px 5px var(--box-shadow-color);
    padding: 10px;
    background: var(--secondary-color);
}
.chat-area {
    position: relative;
    text-align: center;
}
.local-video-loader, .remote-video-loader {
    position: absolute;
    margin: auto;
    width: 100%;
    top: 100px;
}
.local-video-loader img, .remote-video-loader img {
    height: 100px;
    width: 100px;
}
.description {
    position: absolute;
    margin: auto;
    width: 100%;
    padding: 50px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.dark-theme-setting {
    border-width: 1px;
    border-color: #6c7893;
}
.dark-theme-setting .fa-moon{
    color: #1d253b;
}
.dark-theme-setting .fa-sun{
    color: #ffc107;
}
.btn-actions h5 {
    position: absolute;
    left: 12px;
}
.video-section {
    margin-top: 15px;
}
.chat-section {
    position: relative;
    margin-top: 15px;
}
.user-input {
    background: transparent;
    border: 0;
}
.about {
    box-shadow: 0 1px 5px var(--box-shadow-color);
    background: var(--secondary-color);
    position: relative;
    width: 100%;
    height: 80.6vh;
}
.chat-panel {
    position: absolute;
    height: 80.5vh;
    width: 98.5%;
    left: 0;
    top: 0;
    box-shadow: 0 1px 5px var(--box-shadow-color);
    background: var(--secondary-color);
}
.chat-box {
    width: 100%;
    height: 100%;
    position: relative;
}
.chat-header {
    height: 50px;
    font-size: 20px;
    padding: 10px;
    color: #ffea00;
    background: #111b24;
    font-weight: 700;
}
.chat-body {
    height: 90%;
    padding: 10px 5px;
    overflow: auto;
    background: var(--secondary-color);
    position: relative;
}
.chat-footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 10px;
    background: var(--secondary-color);
    border-top: 1px solid var(--border-color);
}
.chat-footer .input-group {
    margin-top: 0;
    border-radius: 0px;
    background-color: var(--bg-color);
    color: var(--font-color);
}
.chat-footer .input-group .note-input {
    border: 0;
    background: transparent;
    color: #6c7893;
    border-radius: 0;
}
.chat-footer .input-group .note-input.form-control:focus {
    outline: none;
    border-bottom-color: #fff !important;
    box-shadow: none;
    transition: all .1s ease;
}
.chat-footer .input-group-append button {
    border: 0;
    background: transparent;
    border-radius: 0;
    color: #6c7893;
}
.remote-chat {
    position: relative;
    padding: 5px 5px;
    clear: both;
    width: 60%;
}
.remote-chat div {
    background: var(--secondary-bg-gradient);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: left;
    width: fit-content;
    word-break: break-word;
}
.local-chat {
    position: relative;
    float: right;
    width: 60%;
    text-align: right;
    padding: 5px 15px;
}
.local-chat div {
    padding: 5px 10px;
    color: var(--btn-font);
    border-radius: 5px;
    text-align: left;
    width: fit-content;
    float: right;
    text-align: left;
    word-break: break-word;
    background: var(--bg-gradient);
}
.theme-switch-wrapper {
    display: inline-block;
    margin-right: 5px;
}
.theme-switch {
    display: inline-block;
    height: 25px;
    position: relative;
    width: 50px;
    margin-bottom: -9px;
    margin-right: -5px;
}
.theme-switch input {
    display: none;
}
.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.4s;
}
.slider.round {
    border-radius: 34px;
}
.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 16px;
    left: 4px;
    position: absolute;
    transition: 0.4s;
    width: 16px;
}
.slider.round:before {
    border-radius: 50%;
}
input:checked+.slider:before {
    transform: translateX(26px);
}
input:checked+.slider {
    background-color: #66bb6a;
}
.theme-switch-wrapper em {
    margin-left: 10px;
    font-size: 1rem;
    font-style: italic;
    vertical-align: top;
}
#online {
    color: #1dbf73;
}
::-webkit-scrollbar {
    width: 8px;
    background-color: var(--secondary-color);
}
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
    background-color: var(--theme-color);
}
@media only screen and (max-width: 767px) {
    body {
        font-size: 14px;
    }
    .local-video-container {
        position: absolute;
        bottom: 10px;
        width: 150px;
        height: 100px;
        right: 13px;
        margin-bottom: unset;
    }
    .description {
        position: absolute;
        font-size: 12px;
        overflow: auto;
        padding: 5px 20px;
        height: 90%;
    }
    .chat-body {
        height: 32vh;
    }
    .video-section {
        padding-right: .25rem;
        padding-left: .25rem;
        margin-top: 5px;
        position: absolute;
        height: 45%;
    }
    .chat-section,
    .chat-area {
        padding-right: .25rem;
        padding-left: .25rem !important;
        margin-top: 5px;
        margin-bottom: 0.90rem!important;
    }
    .chat-area {
        margin-top: -5px;
    }
    .local-video-loader{
        top:10px;
    }
    .local-video-loader img{
        width: 80px;
        height: 80px;
    }
    .btn-actions h5{
        font-size: 16px;
        margin-top: 4px !important;
    }
    .about {
        height: 30vh;
    }
    .chat-body {
        height: 22vh;
    }
    .chat-panel {
        height: 30vh;
        left: 3px;
    }
    .chat-main {
        height: 45%;
        position: absolute;
        top: calc(45% + 64px);
    }
    .remote-video-container {
        height: 100%;
        margin-bottom: unset;
    }
}
