﻿
.user-select-none {
    user-select: none;
}

/* ------- CARDS ------- */

.card-group > .card {
    flex: 1 0 0%;
    margin-bottom: 0;
    border-radius: 13px; 
}

.card-group > .card:not(:last-child) {
    border-top-right-radius: 13px;
    border-bottom-right-radius: 13px;
}

.card-group > .card:not(:first-child) {
    border-top-left-radius: 13px;
    border-bottom-left-radius: 13px;
}

.card-explanation {
    border-radius: 13px;
    border: none;
}

.card-device {
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 13px;
    border: none;
}
    .card-device.selected {
        background-color: #D7E5F5;
    }
    .card-device:hover {
        background-color: #D7E5F5;
    }

.card-empty {
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 13px;
    border: none;
}

.card-header-custom {
    background-color: transparent;
/*    min-height: 290px;*/
}

.list-group-item-explanation {
    min-height: 60px;
}

.list-group-item-card {
    min-height: 60px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-group-item-empty {
    min-height: 60px;
    background: transparent;
}


.card-image-container {
    position: relative;
    display: inline-block;
}

.card-image {
    width: 100%;
    height: auto;
    object-fit: scale-down;
}

.card-empty-image {
    background-color: transparent;
    border: 1px solid #9FAAB5;
    cursor: pointer;
    width: 24px;
    height: 24px;
    object-fit: scale-down;
    object-fit: scale-down;
    border-radius: 50%;
}

.button-change-device-svg {
    background-color: transparent;
    border: 1px solid #9FAAB5;
    padding: 0;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: relative; /* Keeps the button's position intact */
}
    .button-change-device-svg img {
        width: 16px;
        height: 16px;
        position: relative; /* Allows movement within the button */
        top: -3px; /* Moves the image upward */
    }

.button-selected {
    background-color: #2FAE3C;
    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-selected:hover {
        background-color: #62BC6B;
        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-add-to-design {
    background-color: #909192;
    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-add-to-design:hover {
        background-color: #737372;
    }

.button-settings {
    background-color: #D0D0CE;
    font-family: 'Inter', sans-serif;
    font-weight: 700; /* 500 is the weight for 'Medium' */
    font-size: 12px;
    color: #767676;
    border: none;
    padding: 0.3rem 1rem;
    border-radius: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

    .button-settings:hover {
        background-color: #B8B8B6;
        color: #767676;
    }


.button-device-select {
    background-color: #F8F8F8;
    border: none;
    width: 100%; 
    height: auto; 
    cursor: pointer;
}

    .button-device-select:hover {
        background-color: #EEBDBF; 
        border: none;
    }

/* ------- RESULTS ------- */

.tab-content-result {
    background-color: #F2F6FC;
    border-bottom-right-radius: 13px;
    border-bottom-left-radius: 13px;
}

#result-pane {
    padding-right: 12px;
    padding-left: 12px;
    padding-top: 6px;
    padding-bottom: 1px;
}

#documentation-pane {
    padding: 12px;
}

.nav-tabs .nav-link {
    background-color: #E1E7F0;
    border-color: #E1E7F0 #E1E7F0 #E1E7F0
}

    .nav-tabs .nav-link.active {
        font-weight: bold;
        background-color: #F2F6FC;
        border-color: #F2F6FC #F2F6FC #F2F6FC
    }


/* ------- 3D MODEL ------- */

/*.model-3D-container {
    position: relative;
    background-color: white;
    border-radius: 13px;
}
    .model-3D-container:hover .model3D-overlay-svg {
        display: block;
    }

.model-3D {
    width: 100%;
    height: auto;
    border-radius: 13px;
}
    .model-3D:hover {
        cursor: pointer;
        border: 1px solid #909192;
        box-shadow: 0 0 0.5rem 0.5rem rgba(144, 145, 146, 0.25);
    }

.model3D-overlay-svg {
    position: absolute;
    top: 15%;
    left: 85%;
    transform: translate(-50%, -50%);
    z-index: 10; 
    display: none; 
}*/

/* ------- MODAL STYLES ------- */

.custom-modal-content {
    border-radius: 13px;
    border: 3px solid #606060;
}

.custom-modal-header {
    background-color: #F1F1F3;
    border-top-right-radius: 13px;
    border-top-left-radius: 13px;
}

.custom-modal-header-black {
    background-color: #393939;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    padding: 0.2rem 1.5rem 0.2rem 0.2rem;
}

/* ------- EDIT, SWITCH, ADD MODAL ------- */

.row-edit-device:hover {
    background-color: #e7f1ff !important;
}

.row-switch-device:hover {
    background-color: #e7f1ff !important;
}

.row-add-device:hover {
    background-color: #e7f1ff !important;
}

.cell-change-device-1 {
    width: 100px;
    flex: 0 0 100px;
}

.cell-change-device-2 {
    width: 205px;
    flex: 0 0 205px;
}

.cell-change-device-3 {
    width: 60px;
    flex: 0 0 60px;
}

.cell-change-device-4 {
    width: 20px;
    flex: 0 0 20px;
}

/* ------- 3D MODAL ------- */

@media (min-width: 1400px) { /* Customize breakpoint if needed */
    .modal-xxl {
        max-width: 80%; /* Adjust to desired width */
    }
}

/*.radio-RAL {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

    .radio-RAL + img {
        cursor: pointer;
    }

    .radio-RAL:checked + img {
        border: 3px solid #6CBDF8;
        border-radius: 50%;
    }*/

.div-3D2D-colors {
    background-color: #858585;
    border-radius: 18px;
    display: inline-block;
}
