﻿

/*Media Query---------------------------------------------------------------------------------------*/

@media (max-width: 1140px) {
    .page-control-section-container {
        justify-content: center;
    }

    .floating-buttons-container {
        display: none !important;
    }

    .filter-section-container {
        display: none;
    }

    .mobile-filters-container {
        display: flex !important;
    }

    .login-container {
        display: none !important;
    }

    .mobile-login-container {
        display: flex !important;
    }
}

/*Page Control Section Containers---------------------------------------------------------------------------------------*/

.page-control-section-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

    .page-control-section-container.space {
        justify-content: space-between;
    }

.page-control-section-container-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-control-item-selector {
    position: relative;
    display: inline-block;
}

    .page-control-item-selector select {
        height: 40px;
        border-radius: 40px;
        padding: 0px 30px 0px 10px;
        background-color: #f9f9f9;
        border: 2px solid #f9f9f9;
        box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
        appearance: none;
        -webkit-appearance: none; /* For Safari */
        -moz-appearance: none; /* For Firefox */
    }

        .page-control-item-selector select:focus {
            outline: none;
        }

    .page-control-item-selector::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 10px;
        width: 16px;
        height: 16px;
        background-image: url('../Images/svgs/drop_down_arrow.svg');
        background-size: contain;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .page-control-item-selector select:hover {
        border: 2px solid #7386D5;
        cursor: pointer;
    }

.page-control-label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 40px;
    padding: 0px 10px;
    background-color: #f9f9f9;
    border: 2px solid #f9f9f9;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
}

    .page-control-label label {
        margin: 0px;
    }

/*Filter Section Containers---------------------------------------------------------------------------------------*/

.filter-section-container {
    overflow: hidden;
    transition: max-height 1s ease;
    max-height: 0px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
}

    .filter-section-container.open {
        max-height: 60px;
    }

    .filter-section-container.openn {
        max-height: 120px;
    }

.filter-section {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

    .filter-section div {
        display: flex;
        gap: 10px;
        align-items: center;
    }

        .filter-section div label {
            margin: 0px;
        }

/*Keyword Container*/

.filter-keyword-container {
    display: flex;
}

    .filter-keyword-container div {
        height: 40px;
        border-radius: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #ffffff;
        padding-left: 10px;
        padding-right: 10px;
        border: 2px solid #ffffff;
    }

        .filter-keyword-container div:hover {
            border: 2px solid #7386D5;
        }

        .filter-keyword-container div input {
            text-align: left;
            background-color: #ffffff;
            border: 0px;
        }

            .filter-keyword-container div input:focus {
                outline: none;
            }

        .filter-keyword-container div button {
            border: 0px;
            background-color: transparent;
            padding: 0px;
        }

            .filter-keyword-container div button:hover {
                cursor: pointer;
            }

            .filter-keyword-container div button:focus {
                outline: none;
            }

/*Selector Container*/

.filter-selector-container {
    position: relative;
    display: inline-block;
}

    .filter-selector-container select {
        height: 40px;
        width: 200px;
        border-radius: 40px;
        padding: 0px 30px 0px 10px;
        background-color: #ffffff;
        border: 2px solid #ffffff;
        appearance: none;
        -webkit-appearance: none; /* For Safari */
        -moz-appearance: none; /* For Firefox */
    }

        .filter-selector-container select:focus {
            outline: none;
        }

    .filter-selector-container::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 10px;
        width: 16px;
        height: 16px;
        background-image: url('../Images/svgs/drop_down_arrow.svg');
        background-size: contain;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .filter-selector-container select:hover {
        border: 2px solid #7386D5;
        cursor: pointer;
    }

/*Types Color Container*/

.filter-types-color-container {
    display: flex;
    gap: 10px;
    background-color: #ffffff;
    border-radius: 40px;
}

    .filter-types-color-container div {
        width: 40px;
        height: 40px;
        border-radius: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .filter-types-color-container div:hover {
            cursor: pointer;
        }

/*Types General Container*/

.filter-types-general-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background-color: #ffffff;
    border-radius: 40px;
}

    .filter-types-general-container div {
        width: 40px;
        height: 40px;
        border-radius: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .filter-types-general-container div:hover {
            border: 2px solid #7386D5;
            cursor: pointer;
        }

        .filter-types-general-container div.selected {
            border: 2px solid #7386D5;
        }

/*Date Container*/

.filter-date-container {
    display: flex;
    gap: 10px;
}

    .filter-date-container div {
        height: 40px;
        border-radius: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #ffffff;
        padding-left: 10px;
        padding-right: 10px;
        border: 2px solid #ffffff;
    }

        .filter-date-container div:hover {
            border: 2px solid #7386D5;
        }

        .filter-date-container div input {
            border: 0px;
            background-color: #ffffff;
        }

            .filter-date-container div input:focus {
                outline: none;
            }

.filter-key-secret-container {

}

.filter-key-secret-container {
    display: flex;
}

    .filter-key-secret-container label {
        margin: 0px;
        color: red;
    }

    .filter-key-secret-container div {
        height: 40px;
        border-radius: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #ffffff;
        padding-left: 10px;
        padding-right: 10px;
        border: 2px solid #ffffff;
    }

        .filter-key-secret-container div:hover {
            border: 2px solid #7386D5;
        }

        .filter-key-secret-container div input {
            text-align: left;
            min-width: 450px;
            background-color: #ffffff;
            border: 0px;
        }

            .filter-key-secret-container div input:focus {
                outline: none;
            }

        .filter-key-secret-container div button {
            border: 0px;
            background-color: transparent;
            padding: 0px;
        }

            .filter-key-secret-container div button:hover {
                cursor: pointer;
            }

            .filter-key-secret-container div button:focus {
                outline: none;
            }

        .filter-key-secret-container div div {
            max-width: 40px;
        }

/*--> Mobile*/

.mobile-filters-container {
    position: relative;
    display: none;
    width: 250px;
    margin: auto;
    text-align: left;
}

/*--> Mobile Selector*/

.mobile-filter-selector-container {
    position: relative;
    display: inline-block;
}

    .mobile-filter-selector-container select {
        height: 40px;
        border-radius: 40px;
        padding: 0px 30px 0px 10px;
        background-color: #ffffff;
        border: 2px solid #ffffff;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        width: -moz-available;
        width: -webkit-fill-available;
        width: fill-available;
    }

        .mobile-filter-selector-container select:focus {
            outline: none;
        }

    .mobile-filter-selector-container::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 10px;
        width: 16px;
        height: 16px;
        background-image: url('../Images/svgs/drop_down_arrow.svg');
        background-size: contain;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .mobile-filter-selector-container select:hover {
        border: 2px solid #7386D5;
        cursor: pointer;
    }



.mobile-general-text-icon-button {
    height: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #7386D5;
    padding: 0px 10px;
    gap: 10px;
    color: #fff;
}

    .mobile-general-text-icon-button:hover {
        cursor: pointer;
    }


/*Buttons---------------------------------------------------------------------------------------*/

.general-icon-button {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #7386D5;
    padding: 0px;
}

    .general-icon-button:hover {
        cursor: pointer;
    }

.general-text-icon-button {
    height: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #7386D5;
    padding: 0px 10px;
    gap: 10px;
    color: #fff;
}

    .general-text-icon-button:hover{
        cursor: pointer;
    }

    .general-text-icon-button label {
        pointer-events: none;
        margin: 0px;
    }

.grey-icon-button {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    padding: 0px;
}

    .grey-icon-button:hover {
        cursor: pointer;
        border: 2px solid #7386D5;
    }

.grey-text-icon-button {
    height: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    border: 2px solid #f9f9f9;
    padding: 0px 10px;
    gap: 10px;
    color: #000;
}

    .grey-text-icon-button:hover {
        cursor: pointer;
        border: 2px solid #7386D5;
    }

    .grey-text-icon-button label {
        pointer-events: none;
        margin: 0px;
    }

.danger-icon-button {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff6666;
    padding: 0px;
}

    .danger-icon-button:hover {
        cursor: pointer;
    }

.success-icon-button {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #92fc9d;
    padding: 0px;
}

    .success-icon-button:hover {
        cursor: pointer;
    }

.success-text-icon-button {
    height: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #92fc9d;
    padding: 0px 10px;
    gap: 10px;
}

    .success-text-icon-button:hover {
        cursor: pointer;
    }

    .success-text-icon-button label {
        margin: 0px;
        pointer-events: none;
    }

/*Selectors---------------------------------------------------------------------------------------*/

.item-selector {
    position: relative;
    display: inline-block;
}

    .item-selector select {
        height: 40px;
        border-radius: 40px;
        padding: 0px 30px 0px 10px;
        background-color: #ffffff;
        border: 2px solid #ffffff;
        appearance: none;
        -webkit-appearance: none; /* For Safari */
        -moz-appearance: none; /* For Firefox */
    }

        .item-selector select:focus {
            outline: none;
        }

    .item-selector::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 10px;
        width: 16px;
        height: 16px;
        background-image: url('../Images/svgs/drop_down_arrow.svg');
        background-size: contain;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .item-selector select:hover {
        border: 2px solid #7386D5;
        cursor: pointer;
    }

/*Inputs---------------------------------------------------------------------------------------*/

/*Date*/

.date-input {
    height: 40px;
    border-radius: 40px;
    padding: 0px 10px 0px 10px;
    background-color: #ffffff;
    border: 2px solid #ffffff;
    display: flex;
}

    .date-input.floating {
        background-color: #f9f9f9;
        border: 2px solid #f9f9f9;
        box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
    }

    .date-input input {
        appearance: none;
        border: 0px;
        outline: none;
        background-color: transparent;
    }

    .date-input:hover {
        border: 2px solid #7386D5;
        cursor: pointer;
    }

/*Slider Switch*/

.switch-slider {
    position: relative;
    display: inline-block;
    max-width: 30px;
    min-width: 30px;
    height: 17px;
    pointer-events: unset !important;
}

    .switch-slider input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider-object {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .2s;
    transition: .2s;
}

    .slider-object:before {
        position: absolute;
        content: "";
        height: 13px;
        width: 13px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        -webkit-transition: .2s;
        transition: .2s;
    }

input:checked + .slider-object {
    background-color: #2196F3;
}

input:focus + .slider-object {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider-object:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
}

.slider-object.round {
    border-radius: 34px;
}

    .slider-object.round:before {
        border-radius: 50%;
    }

/*Layouts---------------------------------------------------------------------------------------*/

.seperated-panel-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.row-panel-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}



/*Loading Container---------------------------------------------------------------------------------------*/


.inner-loading-container {
    display: flex;
    justify-content: center !important;
    width: 100%;
    height: 100%;
}

    .inner-loading-container svg {
        transition: transform 0.2s ease-in-out;
    }

        .inner-loading-container svg.rotating {
            animation: rotateLoadingSvg 1.5s linear infinite;
        }

.big-loading-container {
    justify-content: center !important;
    display: flex;
    align-items: center;
    height: 200px;
}

    .big-loading-container svg {
        transition: transform 0.2s ease-in-out;
    }

        .big-loading-container svg.rotating {
            animation: rotateLoadingSvg 1.5s linear infinite;
        }



.basic-rotate-loop {
    transition: transform 0.2s ease-in-out;
    animation: basicRotateSvg 1.5s ease-in-out infinite;
}



/*Util---------------------------------------------------------------------------------------*/

.content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
    padding: 40px;
    overflow: hidden;
}

.no-draw {
    display: none;
}

.shadow-float {
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
}

.fill-space {
    width: -moz-available; /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
    width: fill-available;
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.page-overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(10px);
    background-color: rgba(179, 179, 179, 0.6);
    z-index: 998;
    display: none;
}

    .page-overlay.show {
        display: block;
    }


.util-container {
    z-index: 1000;
    width: fit-content;
    height: auto;
    display: none;
    justify-content: center;
    margin: auto;
    position: relative;
}

    .util-container.show {
        display: flex;
    }


/*Notifications---------------------------------------------------------------------------------------*/

/*.notification-box {
    position: fixed;
    bottom: 20px;
    left: -300px;*/ /* Start off-screen */
    /*backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    cursor: pointer;
    width: 280px;
    box-sizing: border-box;
}

    .notification-box p {
        padding: 0px;
        margin: 0px;
    }

    .notification-box.show {
        left: 20px;*/ /* Slide in to this position */
    /*}*/


/* Container: Fixed position in the bottom-left corner */
#notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

/* Individual Notification Styles */
.notification {
    background-color: #333;
    color: #000;
    padding: 8px 16px 8px 16px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 350px;
    min-width: 280px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(+110%);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

/* Content wrapper to manage message and close button alignment */
.notification-content {
    display: flex;
    align-items: flex-start; /* Aligns items to the top (better for multiline text) */
    margin-bottom: 5px;
    gap: 16px;
}

/* Message Text Area */
.notification-message {
    flex-grow: 1;
    word-wrap: break-word;
}


/* Close button styling */
.notification-close-btn {
    background: none;
    border: none;
    color: #000;
    font-size: 1.2em;
    cursor: pointer;
    line-height: 1;
    padding: 0; /* Remove padding */
    flex-shrink: 0; /* Prevents the button from shrinking */
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

    .notification-close-btn:hover {
        opacity: 1;
    }

/* Progress Bar Styling */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    transform-origin: left;
}

    /* Specific Progress Bar Colors based on notification type */
    .notification.success .progress-bar {
        background-color: #99ff87
    }  

    .notification.warning .progress-bar {
        background-color: #ffeb87
    }

    .notification.error .progress-bar {
        background-color: #ff8787
    }

    .notification.info .progress-bar {
        background-color: #8793ff
    }

/* Keyframe animation for the progress bar */
@keyframes shrinkProgressBar {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

    /* Optional: Different notification background colors */
    .notification.success {
        background-color: #f2f2f2;
    }

    .notification.warning {
        background-color: #f2f2f2;
    }

    .notification.error {
        background-color: #f2f2f2;
    }

    .notification.info {
        background-color: #f2f2f2;
    }

    /* Animation Classes */
    .notification.show {
        opacity: 1;
        transform: translateX(0);
    }

    .notification.hide {
        opacity: 0;
        transform: translateX(+110%);
    }





/*Keyframes*/

/*Bigger Size Rotating*/

@keyframes rotateLoadingSvg {
    from {
        transform: scale(2.5) rotate(0deg);
    }

    to {
        transform: scale(2.5) rotate(360deg);
    }
}

/*Normal Size Rotating*/

@keyframes basicRotateSvg {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}
