html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    direction: rtl;
    text-align: right;
    margin-bottom: 60px;
}


/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.loader {
    position: fixed;
    z-index: 998;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    opacity: 0.8;
    transition: opacity 0.75s, visibility 0.75s;
}

.spinner {
    opacity: 1;
    margin: auto;
    margin-top: 45vh;
    content: "";
    width: 100px;
    height: 100px;
    border: 15px solid #dddddd;
    border-top-color: mediumseagreen;
    border-radius: 50%;
    animation: spinning 0.75s ease infinite;
}

@keyframes spinning {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

.circle {
    position: relative;
    background-color: #cffcd2;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    box-shadow: 0 0 12px 5px #cffcd2;
    justify-content: center;
    align-items: center;
    text-align: center;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-chat-item:hover {
    background-color: #f8f9fa;
}

.user-chat-item.active {
    background-color: #e9ecef;
    border-color: #dee2e6;
}


.message-bubble {
    border-radius: 1rem !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}