/* Main table styles */
.moz-view-table th { border-right: 1px solid #dee2e6; }
.moz-view-table tr:nth-child(even) { background-color: #f2f2f2; }

/* Modal styles */
.modal.show { display: block!important; opacity: 1; }

/* Empty state styles */
.moz_empty_state { width: 440px; height: auto; }

/* Filter container styles */
.filters-container form.form-inline div{
    padding: 14px;
    display: flex;
}

.filters-container form.form-inline div label{
    margin-right: 14px;
}

.filters-container form button{
    margin-right: 12px;
}

/* Link styles */
a{
  text-decoration: none;
  color:#aa3939; /* Changed from #279aad to #aa3939 for red theme */
}

a:hover{
  color:#901c1c; /* Changed from #25798f to #901c1c for red theme */
}

/* Button styles */
.btn-primary {
    color: #fff;
    background-color: #aa3939; /* Changed from #279aad to #aa3939 for red theme */
    border-color: #aa3939; /* Changed from #279aad to #aa3939 for red theme */
}

.btn-primary:hover{
    background-color: #901c1c; /* Changed from #25798f to #901c1c for red theme */
    border-color: #901c1c; /* Changed from #25798f to #901c1c for red theme */
}

.btn-danger, .btn-primary, .btn-info, .btn-success, .btn-warning {
  border-radius: 15px;
  box-shadow: none;
}

button.swal2-confirm.swal2-styled {
  background-color: #901c1c;
}

button.swal2-confirm.swal2-styled, button.swal2-cancel.swal2-styled {
  border-radius: 15px;
  box-shadow: none;
}

/* Page styles */
.login-page, .register-page {
  background-color: #aa3939; /* Changed from #2B99B3 to #aa3939 for red theme */
}

/* Heading styles */
h1{
  color:#aa3939; /* Changed from #329bb9 to #aa3939 for red theme */
  font-size: 30px;
  font-weight: bold;
}

h2.section{
  color:#aa3939; /* Changed from #329bb9 to #aa3939 for red theme */
  font-size: 20px;
  font-weight: bold;
}

.small-box  {
  color : #aa3939; /* Changed from #329bb9 to #aa3939 for red theme */
  font-size: 16px;
}

.small-box .important {
  color : #d46a6a; /* Changed from #6fc3b6 to #d46a6a for red theme */
}

/* Card styles */
.card-primary.card-outline {
    border-top: 3px solid #aa3939; /* Changed from #279aad to #aa3939 for red theme */
}

/* Button outline styles */
.btn-outline-primary {
    color: #aa3939; /* Changed from #279aad to #aa3939 for red theme */
    border-color: #aa3939; /* Changed from #279aad to #aa3939 for red theme */
}

.btn-outline-primary:hover {
    color: #FFFFFF;
    background-color: #aa3939; /* Changed from #279aad to #aa3939 for red theme */
    border-color: #aa3939; /* Changed from #279aad to #aa3939 for red theme */
}

/* Small box styles */
.small-box.bg-default{
  background-color: #FFFFFF;
}

.small-box>.small-box-footer {
  color: #888;
}

/* Table styles */
table{
  font-size: 13px;
}

table tr{
  background-color: #FFFFFF;
}

table thead tr{
  background-color: #aa3939; /* Changed from #009cb8 to #aa3939 for red theme */
  color: #FFFFFF; 
}

table thead a{
color: #FFFFFF;
}

.table>:not(caption)>*>* {
    border-bottom-width: 2px;
}

/* Content styles */
.content{
  font-size: 13px;
}

/* Form control styles */
.form-control{
  border-radius: 15px;
}

/* Elevation styles */
.elevation-4 {
    box-shadow: 0 1px 0px rgba(0,0,0,.25),0 1px 5px rgba(0,0,0,.22)!important;
}

/* Sidebar styles */
.sidebar a i{color: #aa3939} /* Changed from #279aad to #aa3939 for red theme */
.sidebar a p{color: #555}
.sidebar a:hover p{color: #aa3939} /* Changed from #279aad to #aa3939 for red theme */

/* Main table header styles */
table.main-table thead tr {
  background-color : #d46a6a !important; /* Changed from #6fc3b6 to #d46a6a for red theme */
}

/* Main color styles */
.moz-main-color {
  color : #d46a6a !important; /* Changed from #6fc3b6 to #d46a6a for red theme */
}

/* Error message styles */
.error-message
{
  color: #f83b3b;
  font-size: 15px;
}

/* Avatar styles */
.avatar 
{
  width: 250px;
  height: auto;
}

/* Display table styles */
.moz-display-table
{
  display: table !important;
}

.moz-inline-display-table
{
  display: inline-table !important;
}

/* Overflow styles */
.moz-overflow-x-scroll
{
  overflow-x: scroll!important;
}

.moz-overflow-x-auto
{
  overflow-x: auto!important;
}

/* Scrollable table styles */
.scrollable-table {
  width: 100% !important;
}

/* DataTables styles */
.dataTables_filter, .dataTables_info {
  position: sticky;
  left: 0;
}

/* Input styles */
input[type=checkbox], input[type=radio] {
  margin-right: 5px;
}

/* Button styles */
.div.dt-buttons .dt-button
{
  background: #aa3939 !important; /* Changed from #279aad to #aa3939 for red theme */
  border-color: #aa3939 !important; /* Changed from #279aad to #aa3939 for red theme */
}

/* Page link styles */
.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #aa3939; /* Changed from #009cb8 to #aa3939 for red theme */
  border-color: #aa3939; /* Changed from #009cb8 to #aa3939 for red theme */
}

/* Details control styles */
.details-control-content.truncated {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;  
  display: inline-block;
  vertical-align: middle;
}

.details-control-button {
  vertical-align: middle;
}



/* Tab styles */
.nav-tabs .nav-link {
  border-radius: 0;
  color: #aa3939; /* Changed from #279aad to #aa3939 for red theme */
  border-color: #aa3939; /* Changed from #279aad to #aa3939 for red theme */
}

.nav-tabs .nav-link:hover {
  color: #FFFFFF;
  background-color: #aa3939; /* Changed from #279aad to #aa3939 for red theme */
  border-color: #aa3939; /* Changed from #279aad to #aa3939 for red theme */
}

.nav-tabs .nav-link.active {
  color: #FFFFFF;
  background-color: #aa3939; /* Changed from #279aad to #aa3939 for red theme */
  border-color: #aa3939; /* Changed from #279aad to #aa3939 for red theme */
}

.nav-pills .nav-link:not(.active):hover {
  color: #FFFFFF;
}


/* resize the app logo (sidebar)  */
.brand-link .brand-image {
  max-height: 88px ;
}



.btn-secondary {
  border-radius: 15px;
}