:root{
    --color-google-blue: #4285F4;
    --color-google-blue-dark: #3367D6;
    --color-google-green: #34A853;
    --color-google-green-dark: #2C8C47;
}

html, body{
    height: 100%;
    background: #fff;
    color: #1a1a1a;
    font-family: "Inter", sans-serif;
    scroll-behavior: smooth;
    font-size: 14px;
}

.login-fluid{
    height: 100%;
    box-sizing: border-box;
    padding-top: 80px;
    background: #f1f5f8;
    background-image: repeating-linear-gradient(135deg, transparent 0 8px, rgba(13, 47, 63, .05) 8px 10px);
    overflow-x: hidden;
}

.login-container{
    width: 100%;
    height: 100%;
}

.login-box{
    border: 1px solid #e2e8ec;
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin: auto;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.login-header{
    background: #1a1a1a;
    font-size: 20px;
    padding: 20px;
    color: #fff;
}

.login-body{
    padding: 25px 20px;
}

.form-input-holder{
    margin-top: 20px;
}

.form-input-holder:first-child{
    margin-top: 0;
}

.form-label{
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.form-input{
    width: 100%;
    height: 40px;
    background: none;
    border: 1px solid #dfe5ed;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    color: #1a1a1a;
    padding: 0 10px;
    transition: all 0.15s ease;
}

.form-input:focus{
    outline: none;
    border: 1px solid #4285F4;
}

.form-input::placeholder{
    color: #b9c7cd;
}

.form-submit-holder{
    margin-top: 25px;
}

.login-button{
    background: var(--color-google-blue);
    color: #fff;
    border: none;
    height: 40px;
    width: 160px;
    border-radius: 4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.15s ease;
}

.login-button:hover{
    background: var(--color-google-blue-dark);
}

.form-error-wrap{
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
    display: none;
}

.login-note{
    margin-top: 15px;
    color: #606771;
    font-size: 13px;
    font-weight: 500;
}

/** Main **/

.main-fluid{
    height: 100%;
    padding: 0;
    display: grid;
    grid-template-columns: 320px 1fr;
    position: relative;
}

.main-sidebar{
    width: 320px;
    border-right: 1px solid #dfe5ed;
    overflow-x: hidden;
    height: 100%;
    box-sizing: border-box;
    padding: 20px;
}

.main-sidebar-title{
    font-size: 18px;
    margin-bottom: 15px;
}

.sidebar-main-image{
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.sidebar-main-image img{
    width: 100%;
}

.sidebar-char-info{
    display: flex;
    padding: 7px;
    gap: 8px;
    align-items: center;
}

.sidebar-char-name{
    font-size: 15px;
    font-weight: 700;
}

.char-selected-pill{
    font-size: 12px;
    background: var(--color-google-green);
    color: #fff;
    padding: 1px 7px;
    border-radius: 4px;
    font-weight: 500;
}

.main-container{
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    max-width: 820px;
    overflow: hidden;
    height: 100%;
}

.abs-topbar{
    position: fixed;
    z-index: 10;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    top: 15px;
}

.topbar-button{
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    height: 40px;
    padding: 0 20px;
    border-radius: 40px;
    box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.topbar-button svg{
    width: 24px;
    height: 24px;
}

.topbar-button-logout{
    background: #1a1a1a;
    box-shadow: 0 0 20px 5px rgb(161 161 161 / 77%);
    color: #fff;
}

.main-video-grid{
    height: 100%;
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 20px;
    overflow-x: hidden;
    padding-bottom: 140px;
    scrollbar-width: thin;
}

.grid-col{
    display: grid;
    gap: 15px;
    grid-auto-rows: max-content;
}

.grid-thumb-item{
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f8;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.grid-thumb-item img{
    width: 100%;
}

.main-input-container{
    position: absolute;
    bottom: 10px;
    background: #fff;
    border: 1px solid #ddd;
    left: 20px;
    right: 20px;
    border-radius: 16px;
    box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.main-input{
    padding: 12px;
    border-radius: 12px;
    max-height: 100px;
}

.main-input:focus{
    outline: none;
}

.main-input .placeholder{
    color: #b9c7cd;
    user-select: none;
}

.main-input-footer{
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
}

.main-footer-left, .main-footer-right{
    display: flex;
    gap: 10px;
}

.footer-tab-wrap{
    background: #f1f5f8;
    display: flex;
    gap: 5px;
    height: 38px;
    align-items: center;
    padding: 0 5px;
    border-radius: 34px;
    border: 1px solid #dfe5ed;
    box-sizing: border-box;
}

.footer-tab-item{
    display: flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 10px;
    border-radius: 28px;
    color: #606771;
    cursor: pointer;
}

.footer-tab-item svg{
    width: 20px;
    height: 20px;
}

.footer-tab-selected{
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.main-submit-button{
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
    border-radius: 38px;
    color: #999;
    transition: all 0.15s ease;
}

.main-submit-button svg{
    width: 24px;
    height: 24px;
}

.main-submit-active{
    background: var(--color-google-blue);
    color: #fff;
    cursor: pointer;
}

.grid-thumb-over{
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 0, 0, 0.5));
    transition: all 0.2s;
}

.grid-thumb-item:hover .grid-thumb-over{
    background: linear-gradient(45deg, transparent, rgba(0, 0, 0, 0.5));
}

.thumb-model-wrap{
    position: absolute;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    top: 5px;
    right: 8px;
    font-size: 12px;
    font-weight: 500;
}

.thumb-model-wrap svg{
    width: 16px;
    height: 16px;
}

.thumb-prompt-wrap{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #fff;
    font-size: 12px;
}

.video-popup{
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .8);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    z-index: 9999;
}

.video-popup.open{
    display: flex;
}

.video-popup-inner{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-popup-player{
    display: block;

    width: auto;
    height: auto;

    max-width: 90vw;
    max-height: 85vh;

    object-fit: contain;

    border-radius: 14px;
    background: #000;
}

.video-popup-close{
    position: absolute;
    right: -12px;
    top: -12px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.main-video-loader{
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 6;
    box-sizing: border-box;
    padding: 20px;
    display: none;
}

.loader-goback{
    position: absolute;
    height: 40px;
    background: #f1f5f8;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    padding: 0 14px;
    left: 0;
    font-weight: 500;
}

.loader-goback-inactive{
    display: none;
}

.loader-goback i{
    font-size: 20px;
    color: var(--color-google-blue-dark);
}

.loader-user-row{
    margin-top: 60px;
    display: flex;
    justify-content: flex-end;
}

.loader-user-msg{
    background: #f1f5f8;
    max-width: 70%;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.loader-response-wrap{
    margin-top: 20px;
}

.loader-thumb-wrap{
    width: auto;
    max-width: 50%;
    min-width: 260px;
    min-height: 200px;
    margin-top: 10px;
}

.loader-thumb-loading{
    background: #ccc;
    animation: loader 2s ease infinite;
}

@keyframes loader{
    0%      {opacity: 0.5;}
    50%     {opacity: 1;}
    100%    {opacity: 0.5;}
}

.loader-thumb-wrap.failed{
    background: rgb(233 30 99 / 10%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #E91E63;
}













.doc-fluid{
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    overflow-x: hidden;
    display: none;
}

.close-doc-fluid{
    position: fixed;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: #fff;
    top: 10px;
    right: 10px;
    border-radius: 8px;
    font-size: 24px;
    cursor: pointer;
}

.doc-container{
    padding-top: 50px;
}

.doc-quote{
    background: #eee;
    padding: 10px 15px;
    padding-bottom: 1px;
    margin-top: 15px;
}

h4{
    font-size: 1.2rem;
    line-height: 1.7rem;
    font-weight: 400;
    font-family: inherit;
}

h3{
    font-weight: 300;
    margin-top: 1.5rem;
}

strong{
    font-weight: 600;
}

li{
    padding-top: 5px;
    padding-bottom: 5px;
}







.button-loading, .button-loading:hover{
    background: #b9c7cd;
    cursor: default;
}