@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,800&display=swap');

:root {
    --ambulanceKleur: #F0D962;
    --politieKleur: #4184D7;
    --kmarKleur: #383646;
    --brandweerKleur: #D33E2C;
    --backgroundColor: #7f8996;
    --backgroundColorAll: #192028;
    --burgerKleur: #318108;
    --prio1: #ea4726;
    --prio2: #f0a10d;
    --prio3: #139c31;
    --body-bg: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --msger-bg: #fff;
    --border: 2px solid #ddd;
    --left-msg-bg: #ececec;
    --right-msg-bg: #579ffb;
}

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

/* * {
    margin: 0;
    padding: 0;
} */

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--backgroundColorAll);
    overflow: hidden;
}

.incomingCalls {
    border-radius: 13px;
    margin: 20px;
    background-color: var(--backgroundColor);
    width: 18vw;
    top: 5vh;
    height: 30vh;
    position: absolute;
}

#openInNewWindowBtn {
    border: none;
    background-color: transparent;
    color: white;
    cursor: pointer;
}

#addMeldingBTN {
    border: none;
    background-color: transparent;
    color: white;
    cursor: pointer;
}

.melding-card {
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    margin: 10px;
    padding: 10px;
}

.addMelding {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    margin-left: auto;
    margin-right: 5px;
}

.form-popup {
    position: absolute;
    color: white;
    left: 35vw;
    top: 20vh;
    width: 500px;
    height: fit-content;
    background: linear-gradient(150deg, #7a838a 25%, #5e5e5e 75%);
    border-radius: 8px;
    z-index: 99999;
    box-shadow: 0px 2px 30px black;
    text-shadow: 1px 0px 3px #404142;
}

.meldingAddHeader {
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    align-items: center;
    justify-content: start;
    background-color: #787f86;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    border-radius: 6px 6px 0px 0px;
    border-bottom: 1px solid black;
}

.closeBTN {
    cursor: pointer;
    margin-left: auto;
    margin-right: 20px;
    padding: 10px;
    background-color: red;
    border-radius: 4px;
    border: 2px solid red;
}

.form-container {
    display: flex;
    flex-direction: column;
    margin: 10px;
    font-weight: 600;
}

.form-container>label {
    margin-bottom: 5px;
}

select,
.form-popup>form>input,
.sendNewMelding {
    width: auto;
    margin-right: 5px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 10px 5px;
    border: 2px solid black;
    border-radius: 5px;
}

.sendNewMelding,
select:hover {
    cursor: pointer;
}

.sendNewMelding {
    display: flex;
    justify-content: center;
    align-items: end;
    transition: 0.3s;
}

.sendNewMelding:hover {
    background: #cccccc;
    border-radius: 10px;
    transform: scale(1.02);
}

.dark-bg {
    background: black;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.349;
    z-index: 99998;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: bold;
    background-color: #232F3B;
}

.main-header>ul>li {
    display: flex;
    align-items: center;
    margin-right: 10px;
    font-weight: normal;
}

.main-header p {
    margin: 0;
    margin-left: 25px;
}

.main-header ul li:nth-child(3) {
    background-color: #43b198;
}

.main-header ul li:nth-child(3) a {
    color: #fff;
}

.main-header ul li:nth-child(3):hover {
    background-color: #2e9476;
}

.main-header ul li:nth-child(4) {
    background-color: #3B8FAB;
}

.main-header ul li:nth-child(4) a {
    color: #fff;
}

.main-header ul li:nth-child(4):hover {
    background-color: #2f6f87;
}

.main-header ul li:nth-child(5) {
    background-color: #CF1F12;
}

.main-header ul li:nth-child(5) a {
    color: #fff;
}

.main-header ul li:nth-child(5):hover {
    background-color: #a0170e;
}

.main-header ul li:nth-child(6) {
    background-color: #CF1F12;
}

.main-header ul li:nth-child(6) a {
    color: #fff;
}

.main-header ul li:nth-child(6):hover {
    background-color: #a0170e;
}

.main-header ul li:last-child {
    margin-right: 25px;
}

.main-header>ul {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
    color: #333;
    margin: 0;
    padding: 0;
}

.main-header>ul>li {
    background-color: #D3D3D1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    margin: 5px 10px 5px 10px;
    margin-left: 10px;
    border-radius: 5px;
    transition: 0.2s;
    box-shadow: 0px 0px 15px #17191d;
}

.main-header>ul>li:hover {
    transform: scale(1.02);
    background-color: #B0B0AE;
    box-shadow: 0px 0px 15px #5f5959;
    color: #c5c5c5;
}

.main-header>ul>li>a {
    color: #333;
    text-decoration: none;
}

.header {
    background-color: #232f3b;
    border-radius: 8px 8px 0px 0px;
    display: flex;
    top: 0;
    z-index: 1;
    /* Ensure the header is on top of other elements */
    flex-direction: row;
}

.kladblok {
    max-height: 400px;
    /* Set a maximum height for the kladblok */
    overflow-y: auto;
    /* Enable vertical scroll if the content overflows */
    padding-bottom: 0px;
    /* Adjust the padding based on the height of msger-inputarea */
}

#additionalInfo {
    display: flex;
    justify-content: center;
    margin-top: 100px;
    /* Adjust the margin as needed */
    width: 99.7%;
    /* Ensure the textarea takes the full width */
    resize: none;
}

.additional-details {
    margin-left: 10px;
    /* Add any other styling as needed */
}

.header>i,
h5 {
    color: white;
    margin: 5px;
}

.meldingen>div {
    display: flex;
    gap: 5px;
    margin: 6px;
    margin-top: 7px;
    height: 25px;
    border-radius: 5px;
    transition: 0.2s;
}

.meldingen>div:hover {
    transform: scale(1.02);
    background-color: rgb(138, 0, 69);
    color: white;
    cursor: pointer;
}

.B,
.P,
.A {
    display: flex;
    align-items: center;
}

.p1 {
    background-color: var(--prio1);
}

.p2 {
    background-color: var(--prio2);
}

.p3 {
    background-color: var(--prio3);
}

.meldingen>div>p {
    display: flex;
    align-items: center;
    font-size: small;
    font-weight: 600;
}

.meldingen>div>p:first-child {
    margin-left: 5px;
}

.meldingen>div>div>p:last-child {
    margin: 0;
    margin-right: 5px;
}

.meldingen>div>div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.meldingenShortcut {
    margin-left: auto;
    font-size: 13px;
    font-weight: 900;
}

.activeCalls {
    border-radius: 13px;
    top: 34vh;
    margin: 20px;
    background-color: var(--backgroundColor);
    width: 18vw;
    top: 37vh;
    height: 58vh;
    position: absolute;
}

.livemap {
    border-radius: 13px;
    top: 34vh;
    margin: 20px;
    background-color: var(--backgroundColor);
    width: 35vw;
    top: 5vh;
    left: 19vw;
    height: 50vh;
    position: absolute;
    background-image: url(../asset/img/map.jpg);
    background-size: cover;
}

.kladblok {
    border-radius: 13px;
    top: 34vh;
    margin: 20px;
    background-color: var(--backgroundColor);
    width: 35vw;
    top: 57vh;
    left: 19vw;
    height: 38vh;
    position: absolute;
}

#kladblok .header h5 {
    white-space: nowrap;
}

.location-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.location-info i {
    font-size: 1.2em;
    color: white;
    margin-left: auto;
    /* Move the icon to the right */
}

.eenheden {
    border-radius: 13px;
    top: 34vh;
    margin: 20px;
    background-color: var(--backgroundColor);
    width: 25vw;
    top: 5vh;
    left: 55vw;
    height: 90vh;
    position: absolute;
}

.settings-menu {
    display: none;
    position: absolute;
    top: 100%;
    /* Position below the button */
    left: 0;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.settings-menu ul {
    list-style: none;
    margin: 0;
    padding: 10px;
}

.settings-menu ul li {
    padding: 8px;
}

.settings-menu ul li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.addButton {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    margin-left: auto;
    margin-right: 5px;
}

.verzoeken {
    border-radius: 13px;
    top: 34vh;
    margin: 20px;
    background-color: var(--backgroundColor);
    width: 17vw;
    top: 5vh;
    left: 81vw;
    height: 45vh;
    position: absolute;
    color: #fff;
}

.verzoeken .eenheid-spraak .type {
    color: #fff;
}

.eenheden {
    color: #fff;
}

.eenheid>div {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 6px;
    margin-top: 7px;
    border-radius: 5px;
    font-size: small;
    padding: 10px;
    /* Increased padding for spacing */
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    min-height: 40px;
    /* Set a minimum height to prevent it from becoming too small */
    padding: 25px;
}

.eenheid p {
    margin: 0;
    white-space: nowrap;
}

.eenheid p:nth-child(1) {
    position: absolute;
    left: 5px;
    /* Adjusted left spacing for DH1101 */
    top: 5px;
    /* Adjusted top spacing */
}

.eenheid p:nth-child(2) {
    position: absolute;
    right: 5px;
    /* Adjusted right spacing for (1) VRIJ */
    top: 5px;
    /* Adjusted top spacing */
}

.meldingcount {
    position: absolute;
    left: 5px;
    bottom: 5px;
}

.currentmelding {
    position: absolute;
    right: 5px;
    /* Adjusted right spacing for # */
    bottom: 5px;
    /* Adjusted bottom spacing */
}

.bijfunctie {
    position: absolute;
    left: 50%;
    /* Center the Vrijwillige Brandweer text */
    transform: translateX(-50%);
    bottom: 5px;
    /* Adjusted bottom spacing */
}

/* Adjusted styles for NOODHULP SOLO */
.eenheid .specialisatie {
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    display: none;
}

.eenheid-header .politie {
    margin-top: 7px;
}

.eenheid-header>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 6px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: small;
    padding: 5px;
    font-weight: 600;
    transition: 0.2s;
}

.eenheid-spraak>p,
.eenheid-melding>p,
.eenheid-noodknop>p,
.eenheid-urgent>p {
    display: flex;
    flex-direction: row;
}

.politie {
    background-color: var(--politieKleur);
}

.ambu {
    background-color: var(--ambulanceKleur);
    color: black;
}

.brw {
    background-color: var(--brandweerKleur);
}

.kmar {
    background-color: var(--kmarKleur);
}

.bgr {
    background-color: var(--burgerKleur);
}

.eenheid-spraak,
.eenheid-melding,
.eenheid-noodknop,
.eenheid-urgent {
    display: flex;
    margin: 6px;
    margin-top: 7px;
    border-radius: 5px;
    justify-content: space-between;
    font-size: small;
    padding: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.verzoeken-vlakken>div:hover {
    transform: scale(1.02);
}

.eenheid-spraak>p,
.eenheid-melding>p,
.eenheid-noodknop>p,
.eenheid-urgent>p {
    display: flex;
    flex-direction: row;
}

.type {
    text-transform: uppercase;
    font-weight: bold;
}

.eenheid-spraak {
    background-color: var(--politieKleur);
}

.eenheid-melding {
    background-color: var(--burgerKleur);
}

.eenheid-noodknop {
    background-color: var(--brandweerKleur);
}

.eenheid-urgent {
    background-color: orange;
}

.chat {
    border-radius: 13px;
    top: 34vh;
    margin: 20px;
    background-color: var(--backgroundColor);
    width: 17vw;
    top: 52vh;
    left: 81vw;
    height: 43vh;
    position: absolute;
}

.aanmeldenForm {
    background: linear-gradient(140deg, rgb(53, 53, 53), rgb(75, 69, 69));
    width: 100%;
    height: 100vh;
    padding-top: 100px;
}

.aanmeldenContainer {
    display: flex;
    flex-direction: column;
    margin: 20px;
}

.aanmelden {
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 50px;
    width: 400px;
    font-size: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    border: 2px solid;
    background: linear-gradient(to right, rgb(37, 37, 37), rgb(59, 59, 59));
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.aanmelden:hover {
    box-shadow: 0 4px 8px 0 rgba(179, 179, 179, 0.3), 0 6px 20px 0 rgba(129, 129, 129, 0.3);
    transform: scale(1.02)
}

.context-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.context-menu ul {
    list-style: none;
    padding: 5px 0;
    margin: 0;
}

.context-menu ul li {
    padding: 8px 12px;
    cursor: pointer;
}

.context-menu ul li:hover {
    background-color: #f1f1f1;
}