﻿@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

#tickets-filter-button {
    background: rgb(0,125,250) !important;
    max-height: 37px;
    color: white !important;
}
    #tickets-filter-button.filter-active {
        border: 2px solid red !important; /* Bordură roșie */
        border-radius: 5px; /* Colțuri rotunjite */
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.5); /* Efect de strălucire roșie */
        transition: all 0.3s ease; /* Tranziție pentru un efect fluid */
    }

/* Stil comun pentru ambele containere */
.kruk-upload-file-list {
    background-color: #f9f9f9; /* Fundal discret */
    padding: 20px;
    border-radius: 10px; /* Colțuri rotunjite */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Umbră subtilă */
    max-width: 500px;
    margin: 20px auto; /* Centrare */
}

    /* Titlul listei */
    .kruk-upload-file-list p {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 10px;
        color: rgb(25, 135, 84); /* Verde */
    }

    /* Stil comun pentru lista de fișiere */
    .kruk-upload-file-list ul {
        list-style-type: none; /* Eliminăm bullet-urile */
        padding: 0;
        margin: 0;
    }

    /* Stil comun pentru fiecare element din listă */
    .kruk-upload-file-list li {
        display: flex; /* Aliniere cu flex */
        align-items: center;
        background-color: #fff;
        border: 1px solid #198754; /* Border verde */
        padding: 10px 15px;
        margin-bottom: 10px;
        border-radius: 5px; /* Colțuri rotunjite */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Umbră subtilă */
        transition: background-color 0.3s ease;
    }

        .kruk-upload-file-list li:hover {
            background-color: #e7f4eb; /* Fundal verde deschis la hover */
        }

        /* Iconița de fișier */
        .kruk-upload-file-list li::before {
            content: '\f15b'; /* FontAwesome cod pentru iconița de fișier */
            font-family: "FontAwesome";
            font-size: 20px;
            color: #0d6efd; /* Albastru */
            margin-right: 10px;
        }

        /* Stil pentru textul din listă */
        .kruk-upload-file-list li span {
            color: #198754; /* Text verde */
            font-weight: 500;
            font-size: 16px;
        }



.file-input-overlay {
    position: relative;
    display: inline-block;
}

    .file-input-overlay input[type="file"] {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

#fileInput {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.kruk-upload-file-list li span {
    color: #4CAF50;
}

.kruk-custom-file-browse-btn:hover {
    background-color: #45a049;
}

.kruk-upload-file-list li {
    list-style-type: none;
    margin-bottom: 5px;
}

.kruk-custom-file-browse-btn, .kruk-custom-file-upload-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

body {
    min-width: fit-content;
    margin-bottom: 60px;
}

.navbarColor {
    z-index: 999;
    background: rgb(0,125,250) !important;
}

.gif {
    width: 100px;
    height: 100px;
}

.text-name {
    color: white;
    margin: 0;
}

.noBullet {
    list-style-type: none;
}

#btn-arataFTP {
    display: none;
    margin-left: 15px;
}

#qr-img {
    max-width: 40%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.logoKruk {
    width: 110px;
    height: 90px;
}

#div-ftp-details {
    display: grid;
}

.navbar {
    max-height: 80px;
}

/*----------------operational meetings----------------------------------*/
.userTicketBtn {
    justify-content: center;
    display: flex;
}

.selected {
    background-color: rgb(25, 190, 55) !important;
}

.unselect {
    background-color: rgb(255, 120, 85) !important;
}

.btnUserTicket {
    margin: 10px;
}

table.dataTable td {
    font-size: 0.9em; 
    width: 100%;
    background: rgb(245, 245, 245);
}

table.dataTable th {
    /*    font-size: 0.9em; */
    color: green;
    background: rgb(1,125,250);
}

.ticketsTable {
    zoom: 0.65;
}
/*-------------------------------------------------------------- */

/*----------------home img----------------------------------*/
.solution {
    position: absolute;
    z-index: -1;
    top: 20%;
    left: 20%;
    transform: scale(0.9);
}

.btnAddUserTIcket {
    margin: 10px;
    background: rgb(0,125,250) !important;
    color: white !important;
}

.omCheckbox {
    align-self: center;
    margin-left: 20px;
}

.btnInfo {
    width: 30px;
    height: 30px;
}

.btnInfoImg {
    width: 30px;
    height: 30px;
}


.btnInfo:hover {
    cursor: pointer;
}

.btn-pickUp {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 40px;
    height: 40px;
    background-color: rgb(0,125,250) !important;
    color: rgb(255, 255, 255) !important;
}

.btn-priority {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 40px;
    height: 40px;
    background-color: rgb(255, 50, 45) !important;
    color: rgb(255, 255, 255) !important;
}

.btn-priorityGray {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 40px;
    height: 40px;
    background-color: lightgray !important;
    color: black !important;
}

.btn-edit {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 40px;
    height: 40px;
    background-color: rgb(255, 150, 115) !important;
    color: rgb(255, 255, 255) !important;
}

.btn-closeTicket {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 40px;
    height: 40px;
    background-color: rgb(0, 205, 225) !important;
    color: rgb(255, 255, 255) !important;
}

.nav-link.active {
    color: #ffffff !important;
    background-color: rgb(0,125,250) !important;
}

.btn-preview {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 40px;
    height: 40px;
    background-color: rgb(0, 205, 2255) !important;
    color: rgb(255, 255, 255) !important;
}

/*--------------------toogle switch OM---------------------------*/
.resUnresSwitch {
    height: 0;
    width: 0;
    visibility: hidden;
}

.switchLabel {
    cursor: pointer;
    text-indent: -9999px;
    width: 45px;
    height: 15px;
    background: grey;
    display: block;
    border-radius: 100px;
    position: relative;
    align-self: center;
}

    .switchLabel:after {
        content: '';
        position: absolute;
        top: 1px;
        left: 2px;
        width: 14px;
        height: 14px;
        background: #fff;
        border-radius: 90px;
        transition: 0.3s;
        justify-self: center;
    }

.resUnresSwitch:checked + .switchLabel {
    background: rgb(25, 190, 55);
}

    .resUnresSwitch:checked + .switchLabel:after {
        left: calc(100% - 5px);
        transform: translateX(-100%);
    }

.switchLabel:active:after {
    width: 20px;
}

.centerSwitch {
    height: 30px;
    display: flex;
}

#labelSol {
    display: none;
}

#labelSolSent {
    display: none;
}
/*-------------------------------------------------------------------------*/

.fixTables {
    padding: 10px;
    margin-left: 70px;
    /*margin: auto;*/
}

.swtchLabelName {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.filterFiled {
    margin: 10px;
    max-width: fit-content;
    font-size: 12px;
}

.swal2-popup {
    font-size: 0.85rem !important;
}

.changePassword {
    text-decoration: none;
}

.labelChangePassword {
    width: 250px;
}

#txtResolution {
    width: 100%;
}

.sweet_loader {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: ro;
    transform-origin: 50% 50%;
    transform: rotate(0) translate(0,0);
}

@keyframes ro {
    100% {
        transform: rotate(-360deg) translate(0,0);
    }
}

.emailBodyOm {
    max-width: 100%;
    overflow-x: auto;
    max-height: 850px;
}

.emailSide {
    border-right: 1px solid black
}

.textAreaEmail {
    height: 30px;
    width: 100%;
    resize: horizontal
}

.header-sideTables {
    background-color: rgb(255, 120, 85);
    color: white;
    text-align: center;
    margin-bottom: 1%;
    margin-top: 1%;
}



.btnNote {
    background: rgb(0,125,250) !important;
    color: white !important;
}

.container {
    all: unset;
    margin-left: 70px;
    margin-right: 10px !important;
}

table.display.dataTable > tbody > tr.selected > *,
table.display.dataTable > tbody > tr.odd.selected > *,
table.display.dataTable > tbody > tr.selected:hover > * {
    box-shadow: inset 0 0 0 9999px #acbad4 !important;
    color: #333;
    background-color: #fff;
}

table.dataTable {
    border-collapse: separate; /* Pentru a permite colțuri rotunjite */
    border-spacing: 0 10px; /* Spațiere între rânduri pentru un aspect aerisit */
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

    table.dataTable td {
        background: #f1f1f1;
        padding: 2px 2px;
        font-size: 1.2em;
        color: #333;
        border-bottom: 1px solid white; /* Linie discretă între rânduri */
    }

    table.dataTable th {
        padding: 15px;
        background: #007bff; /* Nuanță modernă de albastru */
        color: #f1f1f1;
        font-weight: 600;
        text-transform: uppercase; /* Majuscule pentru un aspect mai elegant */
        letter-spacing: 1px;
        border: none;
    }



textarea {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1em;
}

@media (min-width: 576px) {
    #requests-email-reply-modal .modal-dialog {
        max-width: 1550px;
    }
}

@media only screen and (min-width: 1537px) {
    .container {
        max-width: fit-content !important;
        padding-left: 70px;
        margin: auto !important;
    }

    .fixTables {
        padding: 10px;
        zoom: 1.2;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .container {
        padding-left: 70px;
        margin: auto !important;
    }
}

.ticket-message-box {
    border: 2px solid #dedede;
    background-color: #f1f1f1;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
}

th {
    white-space: nowrap;
}

td {
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

#the-canvas-file {
    max-width: 100%;
    max-height: 120%;
}

.mailingTableContainer {
    zoom: 1.2;
}

.mailingTable {
    margin: 3%;
    max-width: 100% !important;
}

.bootstrap-select {
    width: 340px !important;
}

.tickets-filter-button {
    background: rgb(0,125,250) !important;
    max-height: 37px;
    color: white !important;
    /*margin-left: 9px;*/
}



/* Styles for the notification area */

/* Styles for the dropdown menu */
#notificationUL {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.35rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    width: 27rem;
    list-style-type: none;
    font-size: 0.8rem;
    padding-bottom: 0.8rem;
}

/* Style for the title of notifications */
#titlu_Notificari {
    user-select: none;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    padding: 10px 0;
    text-align: center;
}

#notifArea {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    padding-top: 0.3rem;
}



/* Firefox */
#notifContainer {
    max-height: 30rem; /* Set maximum height for the notification area */
    overflow-y: auto; /* Enable vertical scrolling */
    scrollbar-width: thin; /* Make scrollbar thinner */
    scrollbar-color: #888 #f1f1f1; /* Thumb and track color */
    padding-right: 0.4rem; /* Add space to the right of the content, creating space to the left of the scrollbar */
    padding-left: 0.4rem; /* Add space to the right of the content, creating space to the left of the scrollbar */
    scroll-behavior: smooth; /* Enable smooth scrolling */
}

    /* Scrollbar styling for Firefox */
    #notifContainer::-moz-scrollbar {
        width: 8px;
    }

    #notifContainer::-moz-scrollbar-track {
        background: #f1f1f1;
        border-radius: 1rem;
    }

    #notifContainer::-moz-scrollbar-thumb {
        background: #888;
        border-radius: 1rem;
        border: 2px solid #f1f1f1;
    }

        #notifContainer::-moz-scrollbar-thumb:hover {
            background: #555;
        }

    /* WebKit Browsers (Chrome, Safari, Edge) */
    #notifContainer::-webkit-scrollbar {
        width: 0.6rem; /* Width of the scrollbar */
    }

    #notifContainer::-webkit-scrollbar-track {
        background: #f1f1f1; /* Background color of the scrollbar track */
        border-radius: 1rem; /* Rounded corners for the track */
    }

    #notifContainer::-webkit-scrollbar-thumb {
        background: #888; /* Color of the scrollbar thumb */
        border-radius: 1rem; /* Rounded corners for the thumb */
        border: 2px solid #f1f1f1; /* Adds space between the thumb and track */
    }

        #notifContainer::-webkit-scrollbar-thumb:hover {
            background: #555; /* Color when hovered */
        }


.notification {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s; /* Added transform transition */
    cursor: pointer;
    user-select: none;
}

.highlight {
    background-color: #e0f7fa; /* Light pastel blue */
    color: #00796b; /* Complementary text color */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08); /* Modern shadow */
    border-left: 5px solid #00bcd4; /* Accent border */
    transition: background-color 0.3s, box-shadow 0.3s;
}


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

.notification-message {
    flex-grow: 1;
    margin-right: 0.25rem !important;
}

/*.notification-icon {
    font-size: 1.2em;
    color: red;*/ /* Default color for the notification icon */
/*transition: color 0.3s;*/ /* Smooth transition for color change */
/*}*/
.notification-icon {
    font-size: 1.5em;
    transition: color 0.3s; /* Smooth transition for color change */
}

.pulse-animation {
    color: #ff6347; /* Brighter red color */
    animation: pulse 1s infinite; /* Define the pulse animation */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}


.notification.viewed {
    background-color: #f0f0f0;
    color: #555;
}

.notification.highlight {
    background-color: #e0f7fa; /* Light pastel blue */
    color: #00796b; /* Complementary text color */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08); /* Modern shadow */
    border-left: 0.35rem solid #00bcd4; /* Accent border */
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s; /* Added transform transition */
}


.notification:hover {
    background-color: #f5f5f5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px); /* Move notification upward */
}

/* end Style for the title of notifications */

div.scroll {    
    width: 100%;
    min-height: 100px;
    max-height: 550px;
    overflow-x: hidden;
    overflow-y: auto;    
    padding: 10px;
}

.dataTables_filter {
    margin-bottom: 10px;
}

.filter-row {
    margin-bottom: 2px;
}