/* CSS Styles for the pages */

* {
    box-sizing: border-box;
    padding: 0;
    transition: all 0.3s;
  }
/* For Login Page */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: linear-gradient(to bottom, rgb(175, 220, 238), white);
    font-family: Arial, sans-serif;
}

.login-form {
    width: 400px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.login-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #aaa;
    font-style: italic;
}

.login-form label {
    font-size: 0.9em;
    color: #555;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0 20px 0;
    border: 1px solid #aaa;
    border-radius: 5px;
}

#loginButton {
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
    background-color: #0056b3;
    color: #fff;
    font-size: 1.1em;
}

#forgotPasswordButton {
    float: right;
    color: #777;
}

#forgotPasswordButton:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* For Landing Page */
.landing-page * {
    margin: 10px;
}

.landing-page {
    display: flex;
    height: 100vh;
    background-image: linear-gradient(to right, rgb(175, 220, 238), white);
    font-family: Arial, sans-serif;
}

/* Loading Spinner */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #333;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 30%;
    left: 50%;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#dashboardContainer {
    display: none;
    width: 100%;
    height: 100%;
}

.side-container {
    width: 15%;
}

.side-pane {
    width: 15%;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid #aaa;
    padding: 10px;
    position: fixed;
}

.side-pane div {
    width: 80%;
}

.side-pane div img {
    width: 100%;
    /* max-height: 25%; */
}

.side-pane div button {
    width: 100%;
    padding: 20px 0;
}

/* After clicked change the background color of button and stay that way */
.button-active{
    background-color: #0029b2;
    color: #fff;
}

.main-pane {
    width: 85%;
    padding: 10px;
}

.searchBar {
    min-width: 100%;
    display: flex;
}

.searchBar input {
    border: 1px solid #aaa;
    border-radius: 8px;
    width: 60%;
    padding: 10px;
}

.searchBar input:focus {
    outline: none;
    border: 1px solid #0029b2;
    box-shadow: 0 0 5px #0029b2;
}

#searchBtn {
    width: 20%;
}

#refreshDiv {
    display: inline;
}

#refreshBtn{
    color: #333;
    font-size: 1em;
    margin: 0;
}

#flex-list{
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-around; */
}

.flex-item {
    background: #fbfbfb;
    width: 30%;
    margin: 10px;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    border: none;
    border-radius: 10px;
}

.flex-item table {
    width: auto;
    font-size: 0.8em;
    border-collapse: collapse;
}

.flex-item table th {
    border-bottom: 1px solid #aaa;
    padding-bottom: 10px;
}

.flex-item table th i {
    color: rgb(187, 30, 30);
    font-size: 1.2em;
}

.flex-item table th .fa-comments {
    color: yellow;
}

.flex-item table td:first-child {
    width: 38%;
    border-right: 1px solid #aaa;
}

.flex-item:hover {
    background: #fff;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.4);
    cursor: pointer;
}

.High {
    background-color: rgb(255, 202, 202);
}

.High:hover {
    background-color: rgb(249, 161, 161);
}

.new-ticket {
    background-color: rgb(113, 139, 255);
}

.new-ticket:hover {
    background-color: rgb(77, 109, 253);
}

/* Refresh Button rotation */

.rotate i {
    animation: rotate 2s linear infinite;
}

#tooltip {
    position: absolute;
    background-color: #aaa;
    color: #fff;
    padding: 3px 5px;
    margin: 4px;
    margin-left: -60px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 0.8em;
    display: none;
    animation: fadeIn 3s ease-in-out infinite;
}

@keyframes fadeIn {
    0% {
        opacity: 0.25;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.25;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* For Ticket Page */
body {
    background-image: linear-gradient(to right, rgb(193, 227, 240), rgb(247, 247, 247));
}

.container {
    max-width: 1200px;
    margin: auto;
    font-family: Arial, sans-serif;
}

.content {
    max-width: 1200px;
    margin: 20px auto;
    /* border: 1px solid #aaa; */
    border-radius: 10px;
    padding: 10px;
    background-color: #fff;
}

.footer, .header {
    display: flex;
    justify-content: space-between;
}

.header {
    align-items: center;
}

#ticketContainer {
    display: none;
}

.actions {
    float: right;
}

button {
    padding: 10px;
    border: 1px solid #a3a3a3;
    border-radius: 10px;
    background-color: #fff;
    color: #000;
    cursor: pointer;
    box-shadow: 0px 2px 2px #bbb;
}

button:hover {
    /* color: #0029b2; */
    border-color: #0029b2;
    box-shadow: 0px 4px 4px #aaa;
}
/* Pressed button style */
button:active {
    background-color: #0029b2;
    color: #fff;
}

#blueBtn1, #blueBtn2 {
    color: #fff;
    background-color: #0029b2;
}

#blueBtn2, #attachmentBtn {
    padding: 15px 30px;
    margin: 20px 0 40px 0;
}

#blueBtn1:hover, #blueBtn2:hover {
   background-color: #021e79;
}

#red-button {
    color: #d43e3a;
}

#red-button:hover {
    border-color: #d43e3a;
}

.ticketTableDiv table {
    display: inline-block;
    vertical-align: top;
    height: 100%;
}

#tableContent {
    width: 70%;
}

#consumerContent {
    width: 29%;
    /* border-left: 1px solid #aaa; */
}

#consumerContent p {
    font-size: 1em;
    padding: 0 0 10px 0;
    font-weight: bold;
    border-bottom: 1px solid #aaa;
}

#consumerContent label {
    font-size: 0.8em;
    color: #555;
    margin: 5px 0px;
    display: block;
}

table {
    padding: 10px;
}

table td {
    padding: 10px;
}

td:first-child {
    width: 15%;
}

.red {
    color: #d43e3a;
}

.initials-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #5e66ac;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: bold;
    color: #fff;
}

.tag {
    display: inline-block;
    padding: 8px;
    border: 1px solid #aaa;
    background-color: #fff;
    border-radius: 25px;
    margin-bottom: 3px;
}

.tag.feedback {
    color: #fff;
    font-size: 0.8em;
    background-color: #ec4899;
}

.tag.ace {
    color: #fff;
    font-size: 0.8em;
    background-color: #1f826a;
}

.tag.inonehealth {
    color: #fff;
    font-size: 0.8em;
    background-color: #3b82f6;
}

.descDiv {
    background-color: #fff;
    border-radius: 5px;
    padding: 10px;
}

#descriptionParagraph {
    font: 0.9em Helvetica, sans-serif;
    text-align: justify;
    white-space: pre-wrap;
    word-wrap: break-word;
    padding: 10px;
}

.checklist progress{
    display: block;
    width: 40%;
}

.checklist label[for='status'] {
    font-size: 0.7em;
}

.checklist ul {
    list-style: none;
}

.checklist li {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.checklist input {
    margin-right: 10px;
    pointer-events: none;
}

.checklist-paragraph {
    margin-left: 26px;
    font-size: 0.8em;
}

#comments {
    display: flex;
    flex-direction: column;
    font-size: 0.8em;
}

.comment-date {
    margin: 5px;
    color: #666;
}

.comment-paragraph {
    margin-top: 0px;
    font-family: Arial, sans-serif;
    text-wrap: wrap;
    /* border: 1px solid #aaa; */
    border-radius: 5px;
    min-height: 40px;
    padding: 10px;
    background-color: #fff;
}

#editor {
    margin-top: 20px;
    border: 1px solid #aaa;
    border-radius: 5px;
}

#editor:focus {
    outline: 1px solid #0029b2;
}

textarea {
    border: none;
    /* background-color: transparent; */
    width: 100%;
    height: 160px;
    padding: 10px;
}

textarea:focus {
    outline: none;
}

.fileDiv pre, .fileDiv input {
    display: block;
    margin: 5px 0;
}