﻿:root {
    --light-gray-color: #909192;
    --box-shadow: 0 0 0.5rem 0.5rem rgba(144, 145, 146, 0.25);
    --border-radius: 13px;
    --card-border-radius: 9px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
    overflow-y: scroll; /*Show vertical scroll bar always to prevent flashing after post*/
}
    html.no-scroll {
        overflow-y: hidden; /* Disable vertical scrolling */
    }

body {
    margin-bottom: 60px;
}

.font-inter-medium-32 {
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* 500 is the weight for 'Medium' */
    font-size: 32px;
}

.font-inter-medium-24 {
    font-family: 'Inter', sans-serif;
    font-weight: 700; /* 700 is the weight for 'Medium' */
    font-size: 24px;
}
.font-inter-medium-24.gray {
    color: #909192;
}

.font-inter-medium-16 {
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* 500 is the weight for 'Medium' */
    font-size: 16px;
}
    .font-inter-medium-16.gray {
        color: #909192;
    }
    .font-inter-medium-16.darkgray {
        color: #737372;
    }
    .font-inter-medium-16.bold {
        color: #393939;
    }

.font-inter-medium-16-red {
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* 500 is the weight for 'Medium' */
    font-size: 16px;
    color: #FF0008;
}
    .font-inter-medium-16-red.bold {
        font-weight: 600 !important;
    }

.font-inter-medium-12 {
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* 500 is the weight for 'Medium' */
    font-size: 12px;
}
    .font-inter-medium-12.gray {
        color: #909192;
    }
    .font-inter-medium-12.bold {
        color: #393939;
    }

.font-inter-medium-12-red {
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* 500 is the weight for 'Medium' */
    font-size: 12px;
    color: #FF0008;
}

    .font-inter-medium-12-red.bold {
        font-weight: 1000 !important;
    }

.font-inter-medium-14 {
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* 500 is the weight for 'Medium' */
    font-size: 14px;
    color: #000000;
}
    .font-inter-medium-14.bold {
        font-weight: 1000 !important;
        opacity: 1 !important;
    }
    .font-inter-medium-14.gray {
        color: #909192;
    }


.font-inter-medium-14-red {
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* 500 is the weight for 'Medium' */
    font-size: 14px;
    color: #FF0008;
}

    .font-inter-medium-14-red.bold {
        font-weight: 1000 !important;
    }

.font-inter-medium-10-red {
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* 500 is the weight for 'Medium' */
    font-size: 10px;
    color: #FF0008;
}

.font-inter-medium-10 {
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* 500 is the weight for 'Medium' */
    font-size: 10px;
}
    .font-inter-medium-10.bold {
        font-weight: 1000 !important;
    }
    .font-inter-medium-10.gray {
        color: #909192;
    }


.menu-1 {
    background-color: #F8F8F8;
    border-radius: var(--border-radius);
}

.menu-2 {
    background-color: #F2F6FC;
    border-radius: var(--border-radius);
}

.button-export {
    background-color: #FF0008;
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* 500 is the weight for 'Medium' */
    font-size: 12px;
    color: #FFFFFF;
    border: none;
    padding: 0.3rem 1rem;
    border-radius: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

    .button-export:hover {
        background-color: #C30000;
        color: #FFFFFF;
        /* border: 1px solid #FFFFFF; /* Add a white border on hover */
        /*box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);  Add a slight shadow on hover */
    }

.button-simulate {
    background-color: #FF0008;
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* 500 is the weight for 'Medium' */
    font-size: 20px;
    color: #FFFFFF;
    border: none;
    padding: 1rem 3rem;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

    .button-simulate:hover {
        background-color: #C30000;
        color: #FFFFFF;
        /* border: 1px solid #FFFFFF; /* Add a white border on hover */
        /*box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);  Add a slight shadow on hover */
    }

.button-gotoproject {
    background-color: #909192;
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* 500 is the weight for 'Medium' */
    font-size: 20px;
    color: #FFFFFF;
    border: none;
    padding: 1rem 3rem;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

    .button-gotoproject:hover {
        background-color: #737372;
    }

.button-save {
    background-color: #606060;
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* 500 is the weight for 'Medium' */
    font-size: 12px;
    color: #FFFFFF;
    border: none;
    padding: 0.3rem 1rem;
    border-radius: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

    .button-save:hover {
        background-color: #393939;
    }

.button-blue {
    background-color: #5183CF;
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* 500 is the weight for 'Medium' */
    font-size: 12px;
    color: #FFFFFF;
    border: none;
    padding: 0.3rem 1rem;
    border-radius: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

    .button-blue:hover {
        background-color: #456FB0;
    }


.button-large {
    background-color: #606060;
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* 500 is the weight for 'Medium' */
    font-size: 14px;
    color: #FFFFFF;
    border: none;
    height: 45px;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}
    .button-large:hover {
        background-color: #393939;
    }

.button-project {
    background-color: #5E5E5E;
    color: white;
    border: none; 
    padding: 0;
    cursor: pointer;
    width: 140px;
    height: 140px;
    border-radius: 50%;
}
    .button-project:hover {
        background-color: #7AA7DD;
    }

.button-room-in-project {
    background-color: #5E5E5E;
    color: white;
    border: none;
    padding: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: none;
    pointer-events: none;
}

    .button-project:hover {
        background-color: #7AA7DD;
    }


.button-add-project {
    background-color: transparent;
    border: 1px solid #9FAAB5;
    padding: 20px;
    cursor: pointer;
    width: 140px;
    height: 140px;
    border-radius: 50%;
}

    .button-add-project:hover {
        background-color: #7AA7DD;
    }


.button-application-menu {
    background-color: #D0DEEE;
    color: #737372;
    border: none;
    padding: 0px;
    cursor: pointer;
    width: 140px;
    height: 160px;
    border-radius: 10%;
}


.form-control.value {
    border-right: none;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border: transparent;
}
    .form-control.value:focus {
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0);
    }

    .input-group-text.unit {
        background-color: #FFFFFF;
        border-left: none;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
        border-top-right-radius: 5px !important;
        border-bottom-right-radius: 5px !important;
        border: transparent;
    }

.form-select.value {
    border-radius: 5px;
    border: transparent;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.scrollable-row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

    .scrollable-row .row {
        display: inline-flex;
        flex-wrap: nowrap;
    }

.container-green {
    display: flex; /* Align items in a horizontal row */
    align-items: center; /* Vertically align text and checkmark */
    gap: 0.5em; /* Add space between text and checkmark */
    cursor: pointer; /* Make the label clickable */
    position: relative;
    user-select: none; /* Prevent text selection on click */
}

    /* Hide the browser's default checkbox */
    .container-green input {
        position: absolute;
        opacity: 0; /* Hide the actual checkbox */
        cursor: pointer;
    }

/* Create a custom checkbox */
.checkmark {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background-color: #B3B3B3;
    position: relative;
}

.checkmark::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px; /* Adjust size of the inner circle */
    height: 12px;
    border-radius: 50%;
    background-color: white;
}

/* When the checkbox is checked, add a green background */
.container-green input:checked ~ .checkmark {
    background-color: #2FAE3C;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container-green input:checked ~ .checkmark:after {
    display: block;
}

.container-green input:checked ~ .checkmark::before {
    display: none;
}

/* Style the checkmark/indicator */
.container-green .checkmark:after {
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.dropdown-custom {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.dropdown-menu-custom {
    min-width: unset;
    width: 100%;
}

.btn-custom {
    padding: 0;
}
    .btn-custom:focus, .btn-custom:active:focus {
        box-shadow: 0 0 0 0.1rem transparent, 0 0 0 0.25rem transparent;
    }

.btn-custom svg {
    margin-left: auto; 
    width: 20px; 
    height: 20px;
    fill: currentColor; 
}

.progress-bar-custom {
    background-color: rgba(0, 0, 0, 0.125);
}

.btn-dark-custom {
    color: #fff;
    background-color: #212529;
    border-color: #212529;
    cursor: none;
    pointer-events: none;
}

.btn-light-custom {
    color: #fff;
    background-color: #fff;
    border-color: #212529;
    cursor: none;
    pointer-events: none;
}

/* ------- DIAGRAM ------- */
.diagram-container {
    position: relative; /* Allows for absolute positioning of child elements */
    background-color: white;
    border-radius: 13px;
}

    .diagram-container:hover .diagram-overlay-svg {
        display: block;
    }

.diagram-container-image {
    width: 80%;
    height: auto;
    border-radius: 13px;
    padding: 2%;
}

    .diagram-container-image:hover {
        cursor: pointer;
    }

.diagram-overlay-svg {
    position: absolute;
    top: 5%;
    left: 87%;
    transform: translate(-50%, -50%);
    z-index: 10; /* Ensure the SVG appears on top of the container */
    display: none; /* Initially hidden */
}


