* {
    box-sizing: border-box !important;
    padding: 0;
    margin: 0;

}

html,
body {
    /* height: 100%; */
    font-family: 'Roboto', sans-serif !important;
    background-color: #f8fafc;
    /* font-size: 14px; */

}
textarea{
    resize: none;
}
.main-content {
    display: flex;
    margin: 10px;
    margin-right: 0 !important;
}
.access-denied-container {
    margin: 0;
    padding: 0;
    color: #212529;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80vh;
}
.access-denied {
    text-align: center;
    padding: 40px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

.access-denied h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: #dc3545;
}

.access-denied p {
    font-size: 18px;
}
.dialog-content td {
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
}

.dialog-content tr:last-child td {
    border-bottom: none;
}

.dialog-content td:first-child {
    font-weight: 600;
    color: #333;
}

.dialog-content td:last-child {
    color: #555;
}

.dialog-content .image-cell {
    padding: 20px;
    background-color: #efefef;
    font-size: 15px;
    color: #8a1818 !important;
}

#dialog-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    padding: 10px;
}

#dialog-form label {
    font-weight: bold;
    margin-bottom: 5px;
}

#dialog-form input,
#dialog-form select,
#dialog-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    font-size: 14px;
}

#dialog-form input:focus,
#dialog-form select:focus,
#dialog-form textarea:focus {
    border-color: #0077cc;
    box-shadow: 0 0 4px #0077cc44;
    outline: none;
}

#dialog-form button, .ui-dialog .ui-dialog-buttonpane button {
    padding: 12px;
    background-color: #0077cc;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.ui-dialog .ui-dialog-buttonpane button{
    font-size: 14px;
}
#dialog-form .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

#dialog-form button:hover, .ui-dialog .ui-dialog-buttonpane button:hover {
    background-color: #005fa3;
}
  #trigger-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

  #trigger-loading .loader-box {
    background-color: #ffffff;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
  }

  #trigger-loading .loader-box::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 3px solid #3498db;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  