﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification 
for details on configuring this project to bundle and minify static web assets. */
body {
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

#dropdownLang {
    border-color: #dee2e6 !important;
    color: #212529 !important;
    font-size: 12.8px;
    font-weight:400;
}


.btn-lightblue {
    background: #28abe3;
    color: #ffffff;
    /*    font-weight: bold;*/
    font-size: 17px;
    height: 40px;
    border: none;
    font-family: 'Segoe UI',Arial,Tahoma, Verdana, Segoe, sans-serif !important;
}

    .btn-lightblue:hover:not(:disabled) {
        color: #fff !important;
        background-color: #28abe3
    }

    .btn-lightblue i {
        color: #fff
    }

    .btn-lightblue.darker {
        background: #2193C3
    }

    .required-notif{
        text-align:center;
        width:20px!important;
        height:20px!important;
    }

button:disabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.4;
}

.link {
    color: #1875bd;
}

.signing-status-text {
    color: #1C5175;
    font-size: 18px;
}

.signing-spinner {
    font-size: 54px;
    color: #1C5175
}

.signing-error-panel {
    display: flex;
    justify-content: center;
    padding-top: 30px;
    gap: 10px;
    align-items: center;
}

@media only screen and (max-width: 768px) {
    .signing-error-panel {
        flex-direction: column;
    }
}

.start-joint-review-btn {
    background-color: #16a34a;
    color: #ffffff;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 110px;
}

.start-joint-review-btn.hide {
    display: none !important;
}

 .start-joint-review-btn:hover {
     background-color: #15803d;
     color: #ffffff;
 }


 .start-joint-review-btn:disabled {
     background-color: #16a34a; /* Keep it green */
     cursor: wait!important;
 }


.start-joint-spinner {
    border: 3px solid #ffffff33;
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}



.screen-share-active {
    pointer-events: none;
}


.session-indicator {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 128, 0, 0.15);
    color: #0a0;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 128, 0, 0.2);
    backdrop-filter: blur(6px);
    z-index: 1000;
}

.session-indicator .dot {
    width: 10px;
    height: 10px;
    background-color: #00c853;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1s infinite;
}


.session-indicator.hide {
   display:none!important;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.session-alert-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.session-alert-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 450px;
    width: 80%;
    color: #4d4d4d;
    font-size: 14px;
    font-weight: 600;
    top: 15%;
    position:fixed;
}

.session-alert-content button {
    margin-top: 12px;
    padding: 2px 12px;
    height:36px;
    font-size:14px;
}

.session-alert-content button:hover {
    background-color: #0056b3;
}

@media (min-width: 768px) {
    .start-joint-review-btn {
        padding-left: 10px;
        padding-right: 10px;
    }
}


@media screen and (max-width: 768px) and (orientation: portrait) {
    .start-joint-review-btn {
        padding-top: 6px;
        position: fixed;
        right: 19%;
        top: 19px;
    }
}

.start-joint-review-mobile-only{
    display: none!important;
}

@media (max-width: 600px), (max-device-width: 600px) {
    .start-joint-review-mobile-only {
        display: block!important;
    }

    .start-joint-review-btn{
        display:none;
    }

    #document-top-btn {
        top: 2px!important;
    }

    .session-indicator {
        position: fixed;
        left: 0;
        font-size: 9px;
        top: -2px;
        left: 30%;
        padding: 2px 14px;
        border-radius: 0px;
    }

    .session-status-mobile-only.show-mb {
        display: inline-flex !important;
    }

    .session-status-mobile-only .joint-status-text {
        margin-left: 4px;
    }

    .session-status-mobile-only {
        width: calc(100% - 220px)!important;
    }
}

.session-status-mobile-only {
    background: rgba(0, 128, 0, 0.15);
    color: #0a0;
    font-size: 9px;
    font-weight: 600;
    top: 0px;
    padding: 0px 10px;
    box-shadow: 0 0 10px rgba(0, 128, 0, 0.2);
    backdrop-filter: blur(6px);
    z-index: 1000;
    position: fixed;
    left: 45%;
    transform: translateX(-45%);
    width: calc(100% - 290px);
    max-width: 480px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: none;
}

.session-status-mobile-only.hide {
    display: none!important;
}

.session-status-mobile-only .start-joint-spinner {
    border-top: 2px solid #0a0;
    width: 14px;
    height:14px;
}
