body {
  background-color: #1D293F;
  color: white;
  font-family: 'Roboto','Open Sans', sans-serif;
  margin: 0;
}









table {
  border-spacing:0;
}

#WrapperTable {
  padding-left: 1%;
  padding-right: 1%;
}

#adminwrapper {
  width: 90%;
  margin: auto;
}

.WrapperTable {
  padding-left: 1%;
  padding-right: 1%;
}

#Related {
  background-color: purple;
  padding: 1%;
}

.LmBack {
  margin-top: 1%;
  background-color: #FF7957;
  color: white;
  padding: 1%;
}

#RedSpan {
  background-color: darkred;
  color: white;
}

#OrangeSpan {
  background-color: darkorange;
  color: black;
}

#GreenSpan {
  background-color: darkgreen;
  color: white;
}

.footer {
 position: fixed;
 left: 0;
 bottom: 0;
 width: 100%;
 background-color: black;  
 color: white;
 text-align: center;
}

#iframe {
  border: none;
  width: 100%;
  height: 100%;
}

th {
position: sticky;
top: 0; /* Don't forget this, required for the stickiness */
box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}




#TableFormatting {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  color: #e0e0e0;
}

#TableFormatting td, #TableFormatting th {
  padding: 10px;
  text-align: center;
  margin: 0;
}

#TableFormatting tr:nth-child(even) {
  background-color: #586474;
}

#TableFormatting tr:nth-child(odd) {
  background-color: #434c59;
}

#TableFormatting tr:hover {
  background-color: #2a3647;
  transition: background-color 0.3s ease;
}

#TableFormatting td:hover {
  background-color: #1D293F;
  transition: background-color 0.3s ease;
}

#TableFormatting th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  /* background-color: #FF7959; */
  color: #ffffff;
  font-weight: bold;
}

#TableFormatting tr {
  text-align: center;
}

@media (max-width: 768px) {
  #TableFormatting {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #TableFormatting {
    font-size: 0.8rem;
  }
}


.Deleted {
  color: red;
}

input {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  color: white;
}

input[type=checkbox] {
  width: auto !important;
}

input[type=text] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  color: white;
}

input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  color: white;
}

input[type=text], select, textarea {
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  color: white;
}




#Commands {
  font-size: 20px;
  color: gold;
}

#AdminApproval {
  background-color: greenyellow;
  color: black;
  padding: 10px;
}

a {
color: orange;
}

/*
#ToDo {
  width:30%;
  text-align: center;
  float:left;
  padding:5px;

  background-color: darkolivegreen;
  color: white;
  border: 5px;
}
*/








/* ############## Lm STANDARD DESGINS ##############*/
#LmOutside {
  width: 100%;
  text-align: center;
}

#LmAlert {
  color: #fff;
  background: #D4041C;
  display: inline-block;
  margin: 15px;
  padding: 1%;
  border: 5px solid black;
  text-align: center;
  width: 30%;
}

#LmAlert h1 {
  font-size: 40px;
}

#LmAlert h3 {
  font-size: 20px;
}

#LmSuccess {
  color: #fff;
  background: #00703c;
  display: inline-block;
  margin: 15px;
  padding: 1%;
  border: 5px solid black;
  text-align: center;
  width: 30%;
}

#LmSuccess h1 {
  font-size: 40px;
}

#LmSuccess h3 {
  font-size: 20px;
}


#LmCard {
  color: #fff;
  background: purple;
  display: inline-block;
  margin: 15px;
  padding: 1%;
  border: 5px solid black;
  text-align: center;
  width: 30%;
}


#LmNotify {
  color: #fff;
  display: inline-block;
  margin: 15px;
  padding: 1%;
  border: 5px solid black;
  text-align: center;
  width: 30%;
  border-radius: 20px;
}

#LmNotify h1 {
  margin: 0%;
}

#BusImg {
  width: 10%;
  padding: 1%;
}

#DynamicCard {
  width: 30%;
}

@media only screen and (max-width: 600px) {
  #LmNotify {
      width: 80%;
  }

  #AdministratorSettings {
      width: 100% !important;
  }

  #BusImg {
    width: 20%;
  }

  #DynamicCard {
    width: 90%;
  }

}

#LmNotify h1 {
  font-size: 24px;
}


/* ############## Lm STANDARD DESGINS ##############*/


.navbar {
  overflow: hidden;
  background-color: #333;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: orange;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}



#DocHeader {
  background-color: #0078D4;
}

#DocTitle {
  color: white;
  text-align: center;
  font-size: 40px;
}

#DocContent {
  font-size: 18px;
  background-color: #262626;
  border: 3px solid white;
  margin-top: 1%;
  /* margin-left: 3%;
  margin-right: 3%; */
  margin-bottom: 1%;
  min-height: 500px;
  padding-top: 3%;
  padding-left: 3%;
  padding-right: 3%;
  padding-bottom: 3%;
  color: white;
}

#GDPR {
  background-color: blue;
  color: white;
  padding: 10px;
}

#Black {
  background-color: Black;
  color: white;
  padding: 10px;
}

#NoCases {
  width: 30%;
  height: 10%;
  max-height: 10%;
  font-size: 30px;
  color: white;
  background-color: darkslategrey;
  border-style: solid;
  border-color: red;
}




#HomePageBox {
  width: 100%;
  height: 10%;
  max-height: 10%;
  color: white;
  border-style: solid;
  border-color: greenyellow;
  padding: 10px;
}

#Alert {
  width: 100%;
  height: 10%;
  max-height: 10%;
  color: white;
  border-style: solid;
  border-color: white;
  background-color: darkred;
  padding: 10px;
  border-radius: 20px;
}

#AlertOrange {
  width: 40%;
  height: 10%;
  max-height: 10%;
  color: white;
  border-style: solid;
  border-color: white;
  background-color: darkorange;
  padding: 10px;
  border-radius: 20px;
}

#AlertGreen {
  width: 40%;
  height: 10%;
  max-height: 10%;
  color: white;
  border-style: solid;
  border-color: white;
  background-color: darkgreen;
  padding: 10px;
  border-radius: 20px;
}

#AlertFull {
  height: 10%;
  max-height: 10%;
  color: white;
  border-style: solid;
  border-color: white;
  background-color: darkred;
  padding: 10px;
  border-radius: 20px;
}

#YellowAlert {
  width: 40%;
  height: 10%;
  max-height: 10%;
  color: white;
  border-style: solid;
  border-color: white;
  background-color: darkorange;
  padding: 10px;
  border-radius: 20px;
}

#GDPRalert {
  width: 40%;
  height: 10%;
  max-height: 10%;
  color: white;
  border-style: solid;
  border-color: white;
  background-color: blue;
  padding: 10px;
  border-radius: 20px;
}

#TrainingAlert {
  width: 40%;
  height: 10%;
  max-height: 10%;
  color: white;
  border-style: solid;
  border-color: white;
  background-color: darkslategrey;
  padding: 10px;
  border-radius: 20px;
}


#Clock {
  width: 40%;
  height: 10%;
  max-height: 10%;
  font-size: 50px;
  color: orange;
  border-style: solid;
  border-color: white;
  background-color: black;
  padding: 10px;
}

#Border {
  width: 100%;
  color: white;
  border-style: solid;
  border-color: greenyellow;
  padding: 10px;
}

#BorderBackground {
  width: 100%;
  height: 10%;
  max-height: 10%;
  color: white;
  background-color: black;
  border-style: solid;
  border-color: greenyellow;
  padding: 10px;
}

#CentreElement {
  width: 50%;
  padding: 10px;
}

#GroupBorder {
  height: 10%;
  max-height: 10%;
  color: white;
  border-style: solid;
  border-color: greenyellow;
  padding: 10px;
}

#AdministratorSettings {
  width: 50%;
  height: 10%;
  max-height: 10%;
  color: white;
  border-style: solid;
  border-color: white;
  background-color: darksalmon;
  padding: 5px;
  border-radius: 20px;
}

#SMportal {
  width: 50%;
  height: 10%;
  max-height: 10%;
  color: white;
  border-style: solid;
  border-color: white;
  padding: 5px;
}

#DevSettings {
  width: 50%;
  height: 10%;
  max-height: 10%;
  color: white;
  border-style: solid;
  border-color: lightcoral;
  background-color: darkblue;
}


#CSASettings {
  width: 50%;
  height: 10%;
  max-height: 10%;
  color: white;
  border-style: solid;
  border-color: lightcoral;
  background-color: darkgoldenrod;
}

#ControlManagerSettings {
  width: 50%;
  height: 10%;
  max-height: 10%;
  color: white;
  border-style: solid;
  border-color: lightcoral;
  background-color: darkgreen;
}

#NewUserSetup {
  margin: auto;
  text-align: center;
  width: 50%;
  color: white;
  border-style: solid;
  border-color: lightcoral;
  background-color: coral;
  padding: 10px;
}

#UserExists {
  margin: auto;
  text-align: center;
  width: 50%;
  color: white;
  border-style: solid;
  border-color: lightcoral;
  background-color: red;
  padding: 10px;
}

#ModeratorApplication {
  margin: auto;
  text-align: center;
  width: 50%;
  color: white;
  border-style: solid;
  border-color: lightcoral;
  background-color: darkcyan;
  padding: 10px;
}

#LmSettings {
  width: 50%;
  height: 10%;
  max-height: 10%;
  color: white;
  border-style: solid;
  border-color: lightcoral;
  background-color: blueviolet;
  padding: 10px;
  border-radius: 20px;
}

#Topic {
  color: gold;
}

#TopicNote {
  color: white;
  font-size: 20px;
  border-style: solid;
  border-color: lightcoral;
}

#TopicLocked {
  color: gold;
  width: 100%;
  height: 10%;
  max-height: 10%;
  border-style: solid;
  border-color: greenyellow;
  padding: 10px;
}

#Rules {
  color: gold;
  font-size: 12px;
}

#RulesBody {
  background-color: darkblue;
}

#UpdateBox {
  color: white;
  background-color: darkslategray;
  font-size: 30px;
}

#UpdateDate {
  color: white;
  font-size: 26px;
}

#UpdateText {
  color: white;
  font-size: 22px;
}

#Red {
  color: red;
}

#CaseContent {
  color: white;
/*    background-color: grey;*/
  font-size: 20px;
}

#LoginHistory {
  color: white;
  background-color: grey;
  font-size: 20px;
}

#LogHistory {
  color: white;
  background-color: grey;
  font-size: 20px;
}

#GroupMessages {
  color: white;
  background-color: grey;
  padding-left: 0.5%;
  padding-right: 0.5%;
  padding-top: 0.1%;
  padding-bottom: 0.1%;
  font-size: 20px;
}

#CaseNotes {
  color: white;
  background-color: darkslategrey;
  border-radius: 20px;
  padding-left: 0.5%;
  padding-right: 0.5%;
}

#CaseNotesInactive {
  color: red;
/*    text-decoration: line-through;*/
  background-color: darkslategrey;
  border-radius: 20px;
  padding-left: 0.5%;
  padding-right: 0.5%;
}

#InactivityNotes {
  color: white;
  background-color: darkblue;

}

#LastLogin {
  color: wheat;
  background-color: #586474;
}

#UserBlock {
  display: inline-block;
  color: orchid;
  background-color: #586474;
}

#Selection {
  padding: 10px;
  background-color: rebeccapurple;
  width: 30%;
  color: red;
}



#SmallAlert {
  text-align: center;
  padding: 0.1%;
  background-color: brown;
  color:white;
}



/* ############## LM STANDARD DESGINS ##############*/
#LmOutside {
  width:100%;
  text-align: center;
}

#LmAlert {
  color: #fff;
  background: #D4041C;
  display: inline-block;
  margin: 15px;
  padding: 1%;
  border: 5px solid white;
  text-align: center;
  width: 30%;
}

#LmAlert h1 {
  font-size: 40px;
}

#LmAlert h3 {
  font-size: 20px;
}

#LmSuccess {
  color: #fff;
  background: #00703c;
  display: inline-block;
  margin: 15px;
  padding: 1%;
  border: 5px solid white;
  text-align: center;
  width: 30%;
}

#LmSuccess h1 {
  font-size: 40px;
}

#LmSuccess h3 {
  font-size: 20px;
}
/* ############## LM STANDARD DESGINS ##############*/


/* Invoice */

.dashboard-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  width: 100%;
}

.dashboard-header h1 {
  font-size: 1.5rem;
}

.create-invoice-btn {
  background-color: #6c63ff;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.create-invoice-btn:hover {
  background-color: #554dff;
}



.metric-card {
  flex: 1;
  min-width: 100px;
  background-color: #2a2a2a;
  padding: 10px 8px; /* Reduced padding */
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.metric-card:hover {
  transform: translateY(-5px);
}

.metric-value {
  font-size: 2.5rem; /* Slightly reduced font size */
  font-weight: bold;
  color: #ffffff;
  margin: 0px 0px 0px 0px;
}

.metric-label {
  font-size: 1rem;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  margin: 5px 0px 0px 0px;
}

.metric-card.total { background-color: #6363ff; }
.metric-card.overdue { background-color: #ff4757; }
.metric-card.draft { background-color: #1e90ff; }
.metric-card.unpaid { background-color: #ffa502; }

/* Recent Invoices Table */
.recent-invoices {
  flex: 1 1 100%;
  background-color: #1f1f1f;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.recent-invoices h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #ffffff;
}

.recent-invoices table {
  width: 100%;
  border-collapse: collapse;
}

.recent-invoices th, .recent-invoices td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #333;
}

.recent-invoices th {
  color: #bbbbbb;
  font-weight: bold;
  font-size: 0.9rem;
}

.recent-invoices td {
  background-color: #2a2a2a;
  color: #e0e0e0;
  font-size: 0.85rem;
}

.recent-invoices tr:hover td {
  background-color: #3a3a3a;
}

.table-empty-message {
  text-align: center;
  color: #bbbbbb;
  font-size: 0.9rem;
  font-style: italic;
  padding: 20px 0;
}

/* Status Tags */
.status {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
}

.status.paid,
.status.overdue,
.status.draft,
.status.unpaid {
  background-color: #6b7280;
  color: #ffffff;
}

/* Income Sidebar */
.income-sidebar {
  flex: 1 1 100%;
  background-color: #2e2e2e;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.income-summary, .unpaid-summary {
  text-align: center;
  margin-bottom: 15px;
}

.income-summary h3, .unpaid-summary h3 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 5px;
}

.income-total {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 10px 0;
  color: #ffffff;
}

.income-summary canvas, .unpaid-summary canvas {
  width: 100%;  /* Allow canvas to fill the container width */
  max-width: 300px;  /* Larger maximum width for better readability */
  margin: auto;
}

.payment-setup {
  background-color: #444;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  margin-top: auto; /* Aligns the section at the bottom */
}

.payment-setup h4 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1rem;
}

.get-started-btn {
  background-color: #6c63ff;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.get-started-btn:hover {
  background-color: #554dff;
}

.no-data {
  font-size: 20px; /* Larger font size */
  font-weight: bold;
  text-align: center;
  color: #ffffff;
}

/* Products Page Styling */
.products-container {
  width: 100%;
  max-width: 1500px;
  margin: auto;
  padding: 20px;
}


.form-section {
  background-color: #1f1f1f;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.form-section h2 {
  font-size: 1.2rem;
  color: #ffffff;
}

.form-section label {
  color: #bbbbbb;
  display: block;
  margin-top: 10px;
}

.form-section input[type="text"],
.form-section input[type="number"],
.form-section select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: #333;
  color: #ffffff;
}

.form-section button {
  background-color: #6c63ff;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-section button:hover {
  background-color: #554dff;
}

/* Tables Styling */
.table-section {
  background-color: #1f1f1f;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.table-section h2 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 10px;
}


/* Customers Page Styling */
.customers-container {
  width: 100%;
  max-width: 1500px;
  margin: auto;
  padding: 20px;
}

h1, h2 {
  color: #ffffff;
  margin-bottom: 15px;
}

.form-section {
  background-color: #1f1f1f;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.form-section h2 {
  font-size: 1.2rem;
  color: #ffffff;
}

.form-section label {
  color: #bbbbbb;
  display: block;
  margin-top: 10px;
}

.form-section input[type="text"],
.form-section input[type="email"],
.form-section input[type="number"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: #333;
  color: #ffffff;
}

.form-section button {
  background-color: #6c63ff;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-section button:hover {
  background-color: #554dff;
}

/* Tables Styling */
.table-section {
  background-color: #1f1f1f;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.table-section h2 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 10px;
}

/* table {
  width: 100%;
  border-collapse: collapse;
}

table th, table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #333;
}

table th {
  color: #bbbbbb;
  font-weight: bold;
  font-size: 0.9rem;
}

table td {
  color: #e0e0e0;
  font-size: 0.85rem;
  background-color: #2a2a2a;
}

table tr:hover td {
  background-color: #3a3a3a;
} */

.table-empty-message {
  text-align: center;
  color: #bbbbbb;
  font-size: 0.9rem;
  font-style: italic;
  padding: 20px 0;
}

.line-item {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.line-item select, .line-item input {
  padding: 10px;
  border-radius: 5px;
  background-color: #282828;
  color: #ffffff;
  border: 1px solid #444;
}
.line-item select#product_id {
  width: 80%;
}
.line-item select#tax_rate, .line-item input[name="quantity"] {
  width: 60px;
}
.line-item button {
  background-color: #ff4d4d;
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
}

.item {
  width: 100%; /* Ensure all items take the full width of the container */
}

.price-input {
  height: 35px; /* Adjust the height of the price input for consistency */
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .dashboard-container {
      flex-direction: column;
  }
  .metric-card, .recent-invoices, .income-sidebar {
      flex: 1 1 100%;
      margin-top: 15px;
  }
}
/* Invoice */






/* H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H____END OF SITE____ H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H*/

/* Style the submit button with a specific background color etc */
input[type=submit] {
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  border-radius: 20px;
  background-color: #FF7956;
}

input[type=submit]:hover {
  background-color: darkorange;
}

input[type=submit]:disabled {
  background-color: grey;
  color: darkgray;
}

input[type="text"]:disabled {
  background-color: black;
  color: white;
}

.input-disabled{
  background-color: black;
  color: white;
}

input[type="text"]:read-only,
textarea:read-only {
    background-color: grey;
    color: darkgray;
}

.input:read-only {
  background-color: grey;
  color: darkgray;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
width: 100%; /* Full width */
padding: 12px; /* Some padding */
border: 1px solid #ccc; /* Gray border */
border-radius: 4px; /* Rounded borders */
box-sizing: border-box; /* Make sure that padding and width stays in place */
margin-top: 6px; /* Add a top margin */
margin-bottom: 16px; /* Bottom margin */
resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
    color: white;
}



input[type=file] {
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}

#FileUploadLabel {
background-color: indigo;
color: white;
padding: 0.5rem;
font-family: sans-serif;
border-radius: 0.3rem;
cursor: pointer;
margin-top: 1rem;
}

/* When moving the mouse over the submit button, add a darker green color */

center {
  text-align: center;
}

#center {
  text-align: center;
}

.center {
  text-align: center;
}


/* Base button styles */
button {
  border-radius: 12px; /* Slightly smaller radius for a modern look */
  padding: 12px 24px; /* More defined padding for consistency */
  margin: 8px 4px;
  border: none;
  cursor: pointer;
  font-size: 18px; /* More balanced size */
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  background-color: #e06c00; /* Better contrast orange */
  color: white;

}

/* Hover effect */
button:hover {
  background-color: #ff7f11; /* Lighter orange on hover */
  color: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2); /* Slightly stronger shadow */
}

/* Active/click effect */
button:active {
  transform: translateY(2px); /* Subtle press effect */
  box-shadow: 0 3px 6px rgba(0,0,0,0.2); /* Reduced shadow */
}

/* Focus (accessibility) */
button:focus-visible {
  outline: 3px solid #ffd166; /* Yellow focus ring for contrast */
  outline-offset: 2px;
}

/* Dark mode adaptation */
@media (prefers-color-scheme: dark) {
  button {
    background-color: #ff8c1a; /* Softer for dark backgrounds */
    color: black;
    box-shadow: 0 4px 8px rgba(255,255,255,0.15);
  }

  button:hover {
    background-color: #ffa533;
    color: black;
    box-shadow: 0 6px 12px rgba(255,255,255,0.2);
  }

  button:focus-visible {
    outline: 3px solid #ffb84d;
  }
}


button:disabled,
button[disabled] {
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
  cursor: not-allowed;
}

/* Color variants */
.button-blue {
  background-color: rgb(66, 184, 221);
  color: black;
}

.button-blue:hover {
  background-color: rgb(44, 44, 65);
  color: white;
}

.button-blue.selected {
  background-color: rgb(20, 130, 180);
  color: white;
}

.button-red {
  background-color: rgb(202, 60, 60);
  color: white;
}

.button-red:hover {
  background-color: rgb(150, 40, 40);
}

.button-red.selected {
  background-color: rgb(130, 30, 30);
  color: white;
}

.button-green {
  background-color: rgb(28, 184, 65);
  color: white;
}

.button-green:hover {
  background-color: rgb(20, 130, 45);
}

.button-green.selected {
  background-color: rgb(15, 100, 35);
  color: white;
}

.button-orange {
  background-color: rgb(223, 117, 20);
  color: white;
}

.button-orange:hover {
  background-color: rgb(190, 95, 15);
}

.button-orange.selected {
  background-color: rgb(160, 80, 10);
  color: white;
}

.button-purple {
  background-color: rgb(102, 102, 225);
  color: white;
}

.button-purple:hover {
  background-color: rgb(80, 80, 180);
}

.button-purple.selected {
  background-color: rgb(60, 60, 140);
  color: white;
}

.button-violet {
  background-color: rgb(218, 112, 214);
  color: white;
}

.button-violet:hover {
  background-color: rgb(180, 85, 180);
}

.button-violet.selected {
  background-color: rgb(150, 70, 150);
  color: white;
}

.button-black {
  background-color: rgb(0, 0, 0);
  color: white;
}

.button-black:hover {
  background-color: rgb(50, 50, 50);
}

.button-black.selected {
  background-color: rgb(30, 30, 30);
  color: white;
}




.custom-select {
position: relative;
font-family: Arial;
}

.custom-select select {
display: none; /*hide original SELECT element:*/
}

.select-selected {
background-color: DodgerBlue;
}

/*style the arrow inside the select element:*/
.select-selected:after {
position: absolute;
content: "";
top: 14px;
right: 10px;
width: 0;
height: 0;
border: 6px solid transparent;
border-color: #fff transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
border-color: transparent transparent #fff transparent;
top: 7px;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
color: #ffffff;
padding: 8px 16px;
border: 1px solid transparent;
border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
cursor: pointer;
user-select: none;
}

/*style items (options):*/
.select-items {
position: absolute;
background-color: DodgerBlue;
top: 100%;
left: 0;
right: 0;
z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
display: none;
}

.select-items div:hover, .same-as-selected {
background-color: rgba(0, 0, 0, 0.1);
}


.alert {
  padding: 20px;
  background-color: green;
  color: white;
  font-size: 20px;
  width: 90%;
}


.applicationalert {
  padding: 20px;
  background-color: darkred;
  color: white;
  font-size: 20px;
  width: 100%;
}

.ColourRed{
  color: red;
}

#loginbox {
  float: left;
  background-color: orange;
  max-height: 11px;
  height: 10px;
  max-width: 10%;
}

i:hover {
  color: lightgray;
}

/*
*  Position the #infoi element in the top-right
*  of the .wrapper element
*/
#infoi {
position: relative;
display: inline-block;
top: -140px;
/*left: calc(100% - 52px);*/

/*
*  Styling only, the below can be changed or removed
*  depending on your use case
*/

}




::-moz-selection { /* Code for Firefox */
color: white;
background: pink;
}

::selection {
color: white;
background: pink;
}



.slidecontainer {
width: 100%;
}

.slider {
/* -webkit-appearance: none; */
width: 100%;
height: 25px;
background: #d3d3d3;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}

.slider:hover {
opacity: 1;
}

.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
background: black;
cursor: pointer;
}

.slider::-moz-range-thumb {
width: 25px;
height: 25px;
background: darkgrey;
cursor: pointer;
}

.container1 {
border: 2px solid #dedede;
background-color: purple;
border-radius: 5px;
padding: 10px;
margin: 10px 0;
}



.container1::after {
content: "";
clear: both;
display: table;
}

.container1 img {
float: left;
max-width: 7%;
width: 100%;
margin-right: 20px;
border-radius: 50%;
}

.container1 img.right {
float: right;
margin-left: 20px;
margin-right:0;
}

.time-right {
float: right;
color: #aaa;
}

.time-left {
float: left;
color: greenyellow;
}


#MobileCheckWrapper {
  width: 50%;
  margin: auto;
  padding-left: 1%;
  padding-right: 1%;
}


@media only screen and (max-width: 600px) {
  #MobileCheckWrapper {
      width: 100%;
      margin: 0;
      padding-left: 5%;
      padding-right: 5%;
  }

  button {
    padding:3%;
  }

}

input[type=submit]:hover {
  filter: brightness(120%);
}

.Lm-notification-banner {
  text-size-adjust: 100%;
  font-family: GDS Transport,arial,sans-serif;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  border: 5px solid #1d70b8;
  background-color: #1d70b8;
  font-size: 1.1875rem;
  line-height: 1.3157894737;
  margin-top: 10px;
}

.Lm-notification-banner--success {
  border-color: #00703c;
  background-color: #00703c;
}

.Lm-notification-banner--error {
  border-color: darkred;
  background-color: darkred;
}

.Lm-notification-banner__header {
  text-size-adjust: 100%;
  font-family: GDS Transport,arial,sans-serif;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  font-size: 1.1875rem;
  line-height: 1.3157894737;
  border-bottom: 1px solid transparent;
  padding: 2px 20px 5px;
}

.Lm-notification-banner__title {
  text-size-adjust: 100%;
  font-family: GDS Transport,arial,sans-serif;
  -webkit-font-smoothing: antialiased;
  font-weight: 700;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 1.1875rem;
  line-height: 1.3157894737;
}


.Lm-notification-banner__content {
  text-size-adjust: 100%;
  font-family: GDS Transport,arial,sans-serif;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  font-size: 1.1875rem;
  line-height: 1.3157894737;
  color: #0b0c0c;
  background-color: #fff;
  padding: 20px;
}

.Lm-notification-banner__heading {
  text-size-adjust: 100%;
  font-family: GDS Transport,arial,sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #0b0c0c;
  box-sizing: border-box;
  font-weight: 700;
  margin: 0 0 15px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 0;
}





.Lm-notification-banner__link {
  text-size-adjust: 100%;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.25;
  font-family: GDS Transport,arial,sans-serif;
  -webkit-font-smoothing: antialiased;
  text-decoration: underline;
  text-decoration-thickness: max(1px,.0625rem);
  text-underline-offset: .1578em;
  color: #1d70b8;
}




.LmWarning{
  padding:1%;
  margin-bottom:10px;
  border:5px solid black;
  border-radius:0px
}

.LmWarning-warning{
  color:#8a6d3b;
  background-color:#fcf8e3;
}



#SpanMonday {
  color: white;
  background-color:saddlebrown;
  padding: 1%;
  margin-top: 5px;
}

#SpanTuesday {
  color: white;
  background-color:maroon;
  padding: 1%;
  margin-top: 5px;
}

#SpanWednesday {
  color: black;
  background-color:darkseagreen;
  padding: 1%;
  margin-top: 5px;
}

#SpanThursday {
  color: black;
  background-color:pink;
  padding: 1%;
  margin-top: 5px;
}

#SpanFriday {
  color: white;
  background-color:darkcyan;
  padding: 1%;
  margin-top: 5px;
}


#SpanSaturday {
  color: white;
  background-color:#FF7956;
  padding: 1%;
  margin-top: 5px;
}


#SpanSunday {
  color: white;
  background-color:black;
  padding: 1%;
  margin-top: 5px;
}



#Advice {
  background-color: #ffcc00;
  color: #333;
  padding: 15px;
  border: 1px solid #ff9900;
  border-radius: 5px; /* Rounded corners */
  font-weight: bold; /* Bold text */
  font-family: Arial, sans-serif; /* Font style */
  text-align: left; /* Center text */
}

#Success {
  background: #146014; /* Deep Green */
  color: #E0E0E0; /* Soft Gray for readability */
  padding: 15px 20px;
  border: 1px solid #0B3A0B; /* Darker border */
  border-radius: 5px;
  font-weight: bold;
  font-family: "Segoe UI", Arial, sans-serif;
  text-align: left;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
  margin-bottom: 15px;
}

.success-subtext {
  font-size: 0.9em;
  font-weight: normal;
  display: block;
  margin-top: 5px;
}



#Warning {
  background-color: #ff4d4d; /* Red background */
  color: white; /* White text */
  padding: 15px; /* Spacing inside the div */
  border: 1px solid #cc0000; /* Darker red border */
  border-radius: 5px; /* Rounded corners */
  font-weight: bold; /* Bold text */
  font-family: Arial, sans-serif; /* Font style */
  text-align: left; /* Center text */
}


#VehicleRegistration {
  display: inline-block;
  background-color: #ffcc00;
  border: 4px solid #000;
  color: #000;
  font-family: 'Arial', sans-serif;
  font-size: 20px;
  letter-spacing: 5px;
  padding: 5px 10px;
  border-radius: 4px;
  margin: 5px 0;
}

.caution-tape {
  display: inline-block;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  color: #000;
  background: repeating-linear-gradient(
      45deg,
      #ff0,
      #ff0 10px,
      #000 10px,
      #000 20px
  );
  border: 2px solid #000;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

input[type=submit]:hover {
  background-color: grey;
}

button:hover {
  background-color: grey;
}




input, textarea, select, button {
  background-color: #3E4656; /* Slightly lighter than page background */
  color: white ; /* White text for readability */
  border: 1px solid white; /* Subtle border for contrast */
  padding: 8px;
  font-size: 16px;
  border-radius: 5px;
  outline: none;
}

input::placeholder, textarea::placeholder {
  color: #D3DAE3 ; /* Lighter text for placeholders */
}

input:focus, textarea:focus, select:focus {
  border-color: #5A78C0; /* Highlight effect on focus */
  box-shadow: 0 0 5px rgba(90, 120, 192, 0.5);
}

/* Searchable dropdown */
.choices__inner, .choices__list, .choices__input {
  background:#3E4656 !important;
  color:#fff !important;
font-size: 16px;
padding-left:10px;
    border-radius: 4px;
}
.choices__list--dropdown {
  background:#1a1a1a !important;
  color:#fff !important;
  padding-left:0px;
    border-radius: 0px;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
  background: #333 !important;
  color: #ffeb3b !important; /* a little pop, optional */
}
/* Searchable dropdown */


/* ############## SITE COLOUR REFRESH ##############*/
:root {
  --site-accent: #ff8c1a;
  --site-accent-2: #38bdf8;
  --site-danger: #dc2626;
  --site-success: #16a34a;
  --site-panel: rgba(255,255,255,0.1);
}

a,
button,
input[type=submit],
.button-link,
.back-button,
.next-button,
.save-button,
.pass-button,
.service-button,
.child-actions a,
.add-child-panel,
.add-child-button {
  transition: background-color 0.18s ease, color 0.18s ease, filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

button:hover,
input[type=submit]:hover,
.button-link:hover,
.back-button:hover,
.next-button:hover,
.save-button:hover,
.pass-button:hover,
.service-button:hover,
.child-actions a:hover,
.add-child-panel:hover,
.add-child-button:hover {
  filter: brightness(0.82) saturate(1.12);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0,0,0,0.28);
}

.ticket-meta span,
.detail-row span,
.selected-stop-box span,
.ticket-option span,
.pass-company,
.child-status,
.status {
  background: #6b7280;
  color: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 900;
}

#RedSpan,
#OrangeSpan,
#GreenSpan,
#SpanMonday,
#SpanTuesday,
#SpanWednesday,
#SpanThursday,
#SpanFriday,
#SpanSaturday,
#SpanSunday {
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  font-weight: 900;
}

.Lm-notification-banner,
#Advice,
#Success,
#Warning,
.empty-box,
.error-box {
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}
/* ############## SITE COLOUR REFRESH ##############*/
