@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
   /* font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
}

.rounded-4 {
   border-top-left-radius:10px;
 border-top-right-radius:10px;
   border-bottom-right-radius:10px;
 border-bottom-left-radius:10px;
}

.gradient-button {
    height: 160px;
    width:190px;
    background-size: cover;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(0, 0, 0, .16) 0 3px 6px, rgba(0, 0, 0, .23) 0 3px 6px;
}

.button-frame {
    box-shadow: rgba(0, 0, 0, .2) 0 10px 20px, rgba(0, 0, 0, .1) 0 6px 6px !important;
    cursor: pointer;
}

.gradient-button:active {
    box-shadow: rgba(0, 0, 0, .16) 0 3px 6px, rgba(0, 0, 0, .23) 0 3px 6px !important;
    transform: scale(.90);
    transition: all 0.1s ease-in-out;
}

.button-frame:active {
    box-shadow: rgba(0, 0, 0, .19) 0 0px 0px, rgba(0, 0, 0, .23) 0 0px 0px !important;
    transform: scale(.95);
    transition: all 0.1s ease-in-out;
}


a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    /*color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;*/
}

.content {
   /* padding-top: 1.1rem;*/
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.hand{
    cursor:pointer;
}


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

input[type="file"] {
   /* display: none;*/
}

.my-reconnect-modal > div {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
    background-color: #fff;
    opacity: 0.8;
    text-align: center;
    font-weight: bold;
}

.components-reconnect-hide > div {
    display: none;
}

.components-reconnect-show > div {
    display: none;
}

.components-reconnect-show > .show {
    display: block;
}

.components-reconnect-failed > div {
    display: none;
}

.components-reconnect-failed > .failed {
    display: block;
}

.components-reconnect-refused > div {
    display: none;
}

.components-reconnect-refused > .refused {
    display: block;
}

.components-reconnect-rejected > div {
    display: none;
}

.components-reconnect-rejected > .rejected {
    display: block;
}


.rightb {
    background-color: #fff;
    -webkit-box-shadow: 0 0 24px 0 rgb(0 0 0 / 6%), 0 1px 0 0 rgb(0 0 0 / 2%);
    box-shadow: 0 0 24px 0 rgb(0 0 0 / 6%), 0 1px 0 0 rgb(0 0 0 / 2%);
    display: block;
    position: fixed;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
    width: 486px;
    z-index: 9999;
    float: right !important;
    right: -486px;

    top: 0;
    bottom: 0;

    
}
.rightb-title {
    background-color: #64b0f2;
    padding: 24.5px;
    color: #fff;
}

#components-reconnect-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(33, 37, 41, 0.95);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 1050;
    max-width: 300px;
    font-size: 0.95rem;
    text-align: center;
}

#components-reconnect-modal .spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
}

#components-reconnect-modal button {
    margin-top: 0.5rem;
}

.components-reconnect-hide {
    display: none !important;
}

#components-reconnect-modal .rejected button,
#components-reconnect-modal .failed button,
#components-reconnect-modal .show button {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: #212529;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

#components-reconnect-modal .rejected button:hover,
#components-reconnect-modal .failed button:hover,
#components-reconnect-modal .show button:hover {
    background-color: #e2e6ea;
}

/* Dim navbar when modal is active */
.navbar-custom.dim-navbar {
    opacity: 0.4;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

/* Login button disable */
button:disabled {
    cursor: default !important;
}

/* Make modal container tight */
.blazored-modal-container {
    padding: 0 !important;
}

/* Ensure modal content doesn't add padding */
.blazored-modal {
    padding: 0 !important;
    position: relative;
}

/* Nail the close button to top-right corner */
.blazored-modal-close {
    position: absolute !important;
    top: 10px !important; /* gently lowered */
    right: 20px !important; /* tucked in from the edge */
    z-index: 10;
    padding: 0;
}


/* Optional: reduce the close button's actual size */
.blazored-modal-close button {
    width: 28px;
    height: 28px;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
}