.login-container {
    max-width: 400px;
    width: 100%;
    background: white;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
}
.login-title {
    color: #333;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.form-control {
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
    transition: border-color 0.3s ease;
}
.form-control:focus {
    border-color: #55a1ff;
    box-shadow: 0 0 0 0.2rem rgba(85, 161, 255, 0.25);
}
.eye-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}
.eye-icon:hover {
    color: #000;
}
.btn-login {
    background: #55a1ff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    width: 100%;
}
.btn-login:hover {
    background: #3d8bff;
}




.pilot-list {
    height: 100%;
}
#pilot-scroll {
    overflow-y: auto;
    max-height: 0px;
    height: auto;
}
.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.pilot-item {
    transition: all 0.3s ease;
}
.pilot-item:hover {
    background-color: #f8f9fa;
}
.header-title {
    font-family: 'Resagokr';
}
.header-logo {
    max-height: 50px;
}

@media (max-width: 1199.98px) {
    .dropdown-toggle {
      margin-top: 1rem;
    }
}




.link {
    color: #666;
    font-size: 15px;
    text-align: center;
    margin-bottom: 0px;
}
.link a {
    color: #666;
}
h3 {
    font-weight: normal;
    text-align: center;
}
.error {
    color: lightcoral;
    margin-bottom: 20px;
}


@font-face {
    font-family: 'Resagokr';
    font-weight: bold;
    src: url("/ResQvision/fonts/ResagokrBold.otf") format("opentype");
}

html, body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-image: url('/ResQvision/image/BackgroundDark.png');
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: default;
    z-index: -2;
    flex-direction: column;
}

body::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
}

#videoBox {
    width: 100vw;
    height: 100vh;
    display: flex;
    position: absolute;
    visibility: hidden;
    align-items: center;
    justify-content: center;
}

#video {
    z-index: 1;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
    position: relative;
}

#multiplePilots {
    width: 100%;
    height: 100%;
    top: 25px;
    right: 25px;
    display: flex;
    position: absolute;
    align-items: flex-end;
    flex-direction: column;
    justify-content: flex-start;
}

.draggable {
    position: relative;
    cursor: move;
}

.draggable.dragging {
    opacity: 0.5; /* optional: reduces opacity during dragging */
}

#mapBlock {
    height: 100vh;
    display: none;
    position: absolute;
    align-items: flex-start;
}

#map {
    width: 20vw;
    height: 20vh;
    max-width: 90vw;
    max-height: 90vh;
    margin: 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}

#connectBox {
    height: 100%;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-right: 0 !important;
    background: white;
    color: #000000;
}

img {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
}

button {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
}

p {
    margin: 0;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
}

div {
    text-align: center;
}

#logout {
    position: absolute;
    display: flex;
    right: 0;
}
#logout p {
    margin-top: 1em;
}
#logout a {
    color: gray;
    text-decoration: none;
    margin: 1em;
}


.pulse {
    position: relative;
    margin-left: 1em;
    width: 8px;
    height: 8px;
    background: #33ff00;
    border-radius: 50%;
}
.pulse:before {
    content: '';
    position: absolute;
    left: -1px;
    top: -1px;
    right: -1px;
    bottom: -1px;
    background: #ff0000;
    border-radius: 50%;
    animation: animate 0.75s linear infinite alternate;
}
@keyframes animate {
    0% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}
