:root {
    --primary-color: #300040;
    --background-light: #f4f4f4;
    --background-dark: #1e1e1e;
    --text-light: #333;
    --text-dark: #e0e0e0;
    --link-light: #1a73e8;
    --link-dark: #4285f4;
    --card-background-light: #ffffff;
    --card-background-dark: #2c2c2c;
    --border-radius: 12px;
    --box-shadow-light: 0 4px 6px rgba(0,0,0,0.1);
    --box-shadow-dark: 0 4px 6px rgba(0,0,0,0.3);
}

body {
/*
background:#300040;
color: #fff;
*/
font-family: Ubuntu;
  min-height: 100vh; /* Set a minimum height of the body to cover the full viewport height */
  display: flex;
  flex-direction: column; /* Make the body a flex container with a column layout */

}

a {
color: #eee;
}

.yellow {
background-color: yellow;
color: #000;
}

.yellow a {
color: #333;
}

.logos {
float: left;
}

.wallet {
float: right;
        text-align: right;

}

.login {
text-align: center;
}

.main-container {
  display: flex;
  flex-direction: row; /* Horizontal layout */
  justify-content: space-between; /* Space between columns */
}

.column2 {
  width: 48%; /* Adjust the width as needed */
  box-sizing: border-box; /* Ensure padding and border are included in the width */
}

.column70 {
  width: 68%; /* Adjust the width as needed */
  box-sizing: border-box; 
}

.column3 {
  width: 30%; /* Adjust the width as needed */
  box-sizing: border-box; 
}

.outagelist {
background: #ffffff;
width: 100%;
overflow: auto;
}

.outagelist h3, .outagelist p {
padding: 10px;
}

.outagelist ul.outagelist li {
  float: left;
  padding: 5px;
width: 150px;
min-height: 70px;
list-style: none;
}

/* Clear the float after the ul element */
.outagelist ul.outagelist::after {
  content: "";
  display: table;
  clear: both;
}

.high_severity, .medium_severity, .low_severity, .dark-mode .high_severity, .dark-mode .medium_severity, .dark-mode .low_severity {
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.error_message, .high_severity, .error_message a, .high_severity a {
background: pink;
margin: auto 0;
color: #000000;
padding: 5px;
border: 1px solid red;
}

.low_severity, .low_severity a {
    background: #eafce8; /* Light pastel green */
margin: auto 0;
color: #000000;
padding: 5px;
border: 1px solid green;
}

.medium_severity, .medium_severity a {
    background: #fff6d9; /* Light pastel yellow */
margin: auto 0;
color: #000000;
padding: 5px;
border: 1px solid orange;
}

.dark-mode .high_severity, .dark-mode .high_severity a {
background: #400000;
margin: auto 0;
color: #FFBFBF;
padding: 5px;
border: 1px solid pink;
}

.dark-mode .low_severity, .dark-mode .low_severity a {
background: #004000; /* Darker pastel green */
margin: auto 0;
color: #BFFFBF;
padding: 5px;
border: 1px solid green;
}

.dark-mode .medium_severity, .dark-mode .medium_severity a {
background: #8C8C00; /* Darker pastel yellow */
margin: auto 0;
color: #FFFFBF;
padding: 5px;
border: 1px solid orange;
}

/* Base style for all messages */
.alert {
  padding: 12px 20px;
  margin: 10px 0;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

/* Error messages: red background, white text */
.alert-error {
  background-color: #f44336;
  color: #fff;
  border: 1px solid #d32f2f;
}

/* Info messages: blue background, white text */
.alert-info {
  background-color: #2196f3;
  color: #fff;
  border: 1px solid #1976d2;
}

/* Debug messages: gray background, dark text */
.alert-debug {
  background-color: #e0e0e0;
  color: #333;
  border: 1px solid #bdbdbd;
  font-family: monospace;
  font-size: 13px;
  white-space: pre-wrap;
}

/* Success messages: green background, white text */
.alert-success {
  background-color: #4caf50;
  color: #fff;
  border: 1px solid #388e3c;
}

/* Warning messages (optional): orange background */
.alert-warning {
  background-color: #ff9800;
  color: #fff;
  border: 1px solid #f57c00;
}

@media (min-width: 767px) {

    /* Styles for navbar and top-right container */
    .navbar {
        display: flex;
        align-items: center;
	background-color: #f2f2f2;
	width: 100%;
    }

	.dark-mode .navbar {
	background-color: #3e3e3e;
	}

    /* Navigation Menu */

    .navbar ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex;
    }

    .navbar li {
        margin-right: 10px;
        position: relative;
    }

    .navbar a {
        display: block;
        padding: 10px;
        text-decoration: none;
        color: #333;
    }

    .navbar ul ul {
        display: none;
        position: absolute;
        background-color: #f2f2f2;
        padding: 10px;
    }

	.dark-mode .navbar ul ul {
	background-color: #3e3e3e;
	}


    .navbar ul li:hover > ul {
        display: inherit;
    }

    .navbar ul li:hover > a {
	color: #ffffff;
	}

    .navbar ul ul li {
        width: 300px;
        float: none;
        display: list-item;
        position: relative;
    }
    .navbar .highlight {
	background: #cccccc;
}

	.dark-mode .navbar .highlight {
	background-color: #666666;
	}


    .navbar ul li:hover, .navbar ul ul li:hover {
	background: #000000;
}
    .navbar ul li a:hover, .navbar ul ul li a:hover {
	color: #ffffff;
	}

  .submenu {
    display: flex;
    list-style: none;
    padding: 0;
  }

  .submenu li {
    margin-right: 10px;
  }

  .submenu li a {
    text-decoration: none;
    color: #000;
    padding: 5px;
    border: 1px solid #000;
    border-radius: 4px;
  }

  .submenu li a:hover {
    background-color: #000;
    color: #fff;
  }

/* Additional styles for the secondary submenu */
.secondary-submenu {
  display: none;
  list-style: none;
  padding: 0;
  position: absolute;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  top: 10px; /* Adjust the positioning to overlap slightly with the previous menu item */
  left: -220px; /* Adjust the positioning to align with the left edge of the parent menu item */
  z-index: 2; /* Set a higher z-index to ensure it appears on top of the previous submenu */
}

.submenu li:hover .secondary-submenu {
  display: block;
}

.secondary-submenu li {
  /* Remove padding from the li elements */
  /* padding: 5px; */

  /* Center the text horizontally */
  text-align: left;
}

.secondary-submenu li a {
  color: #000;
  text-decoration: none;
  padding: 10px 20px; /* Add more padding to the submenu items */
}

.secondary-submenu li a:hover {
  background-color: #000;
  color: #fff;
}

.nav-icon {
    display: none; 
}

    .footer {
        text-align: center;
        padding: 10px;
        background-color: #f1f1f1;
        font-size: 14px;
        margin-top: 20px;
    }
    
    .footer .footer-info {
        display: inline-block;
        margin-right: 20px;
        vertical-align: middle;
    }

    .footer .dark-mode {
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
    }

    .footer .language-links {
        margin-top: 10px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer .language-links a {
        margin: 0 5px;
        text-decoration: none;
        color: #fff;
    }

    .footer .ip-address {
        font-size: 12px;
        color: #555;
        margin-top: 10px;
    }


}


/* Media query to show the mobile-friendly menu */
@media screen and (max-width: 768px) {

.nav-icon {
	font-size: 36px;
}

/* Styles for the mobile menu toggle */
.nav-toggle {
    display: block;
    text-align: right;
    padding: 20px;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    text-decoration: none;
}

.nav-toggle:hover {
    color: #555;
}

/* Styles for the mobile menu */
.navbar {
    display: none;
    background-color: #333;
    color: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    z-index: 1;
}

/* Updated class name to match JavaScript toggle */
.navbar.active {
    display: block;
}

.navbar ul {
    list-style-type: none;
    padding: 0;
}

.navbar li {
    padding: 10px;
    border-bottom: 1px solid #555;
}

.navbar a {
    text-decoration: none;
    color: #fff;
}

/* Styles for submenu items */
.navbar ul ul {
    display: none;
    position: relative;
    right: 0;
    top: 0;
    background-color: #444;
}

/* Updated class name to match JavaScript toggle */
.navbar ul ul.active {
    display: block;
}
}

    /* Pagination */
    .pagination {
        margin-top: 20px;
        text-align: center;
    }

    .pagination a {
        display: inline-block;
        padding: 5px 10px;
        margin-right: 5px;
        background-color: #f2f2f2;
        color: #333;
        text-decoration: none;
        border-radius: 3px;
    }

    .pagination a:hover {
        background-color: #ddd;
    }

    .pagination .active {
        background-color: #007bff;
        color: #fff;
    }

    /* Table */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    th, td {
        padding: 8px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    th {
        background-color: #007bff;
        color: #fff;
        cursor: pointer;
    }

    tr.yellow {
        background-color: yellow;
    }

    /* Tabs */
    .tabs {
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .tab {
        padding: 10px;
        background-color: #f2f2f2;
        color: #333;
        cursor: pointer;
        border-radius: 3px 3px 0 0;
        transition: background-color 0.3s ease;
    }

    .tab:hover {
        background-color: #ddd;
    }

    .tab.active {
        background-color: #007bff;
        color: #fff;
    }

    .tab-content {
        display: none;
    }

    .tab-content.active {
        display: block;
    }

    /* Style for the tab links */
    ul.tabs li {
      display: inline-block;
      margin-right: 5px; /* Adjust as needed */
    }

    ul.tabs li a {
      display: block;
      padding: 10px 20px; /* Adjust the padding as needed */
      background-color: #000;
      color: #eee;
      text-decoration: none;
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
      border: 1px solid #ccc;
      border-bottom: none;
    }

    ul.tabs li a:hover {
      background-color: #333;
    }

    /* Style for the active tab link */
    ul.tabs li.active a {
      background-color: #007bff; /* Your active tab color */
      color: #fff; /* Your active tab text color */
      border-color: #007bff; /* Your active tab border color */
    }


/* Form styles */
.form-container {
  max-width: 75%;
  margin: 0 auto;
  padding: 20px;
}

.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.form-label {
  flex-basis: 30%; /* Adjust the width of the label to your preference */
  font-weight: bold;
}

.form-input {
  flex: 1; /* Let the input take up the remaining space */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-button {
  background-color: #300040;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.form-button:hover {
  background-color: #000000; /* A slightly darker shade when hovering */
}

/* Main content styles */
.main-content {
  flex: 1; /* Allow the main content to take up the remaining space */
  padding: 20px;
}


        .invoice {
            width: 80%;
            margin: 20px auto;
            border: 1px solid #ccc;
            padding: 20px;
            background-color: #f9f9f9;
        }
.invoice-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.whitelabel-info {
    flex: 1;
}

.customer-info {
    flex: 1;
    text-align: right;
}
        .invoice-header h2 {
            margin: 0;
        }
        .invoice-details {
            margin-bottom: 20px;
        }
        .invoice-items {
            width: 100%;
            border-collapse: collapse;
        }
        .invoice-items th, .invoice-items td {
            border: 1px solid #ccc;
            padding: 8px;
        }
        .invoice-total {
            margin-top: 20px;
            text-align: right;
        }
.invoice-footer {
    margin-top: 20px;
}

.invoice-footer table {
    width: 100%;
    border-top: 1px solid #000;
    border-collapse: collapse;
}

.invoice-footer td {
    padding: 5px 10px;
    text-align: right;
}

.invoice-footer td:first-child {
    text-align: left;
}

.addon-container {
        display: flex;
        gap: 20px;
        justify-content: space-between;
        flex-wrap: wrap;
    }
.addon-section {
        flex: 1;
        min-width: 200px;
        border: 1px solid #ccc;
        padding: 10px;
        border-radius: 5px;
/*        background-color: #f9f9f9;*/
    }
.addon-section h3 {
        margin-top: 0;
        font-size: 16px;
        border-bottom: 2px solid #ddd;
        padding-bottom: 5px;
    }

#payment-message {
  color: rgb(105, 115, 134);
  font-size: 16px;
  line-height: 20px;
  padding-top: 12px;
  text-align: center;
}

#payment-element {
  margin-bottom: 24px;
}

/* Buttons and links */
button {
  background: #5469d4;
  font-family: Arial, sans-serif;
  color: #ffffff;
  border-radius: 4px;
  border: 0;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
  width: 100%;
}
button:hover {
  filter: contrast(115%);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}

.switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 24px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor:pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 24px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 4px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

input:checked + .slider {
	background-color: #4CAF50;
}

input:checked + .slider:before {
	transform: translateX(26px);
}

/* spinner/processing state, errors */
.spinner,
.spinner:before,
.spinner:after {
  border-radius: 50%;
}
.spinner {
  color: #ffffff;
  font-size: 22px;
  text-indent: -99999px;
  margin: 0px auto;
  position: relative;
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 2px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.spinner:before,
.spinner:after {
  position: absolute;
  content: "";
}
.spinner:before {
  width: 10.4px;
  height: 20.4px;
  background: #5469d4;
  border-radius: 20.4px 0 0 20.4px;
  top: -0.2px;
  left: -0.2px;
  -webkit-transform-origin: 10.4px 10.2px;
  transform-origin: 10.4px 10.2px;
  -webkit-animation: loading 2s infinite ease 1.5s;
  animation: loading 2s infinite ease 1.5s;
}
.spinner:after {
  width: 10.4px;
  height: 10.2px;
  background: #5469d4;
  border-radius: 0 10.2px 10.2px 0;
  top: -0.1px;
  left: 10.2px;
  -webkit-transform-origin: 0px 10.2px;
  transform-origin: 0px 10.2px;
  -webkit-animation: loading 2s infinite ease;
  animation: loading 2s infinite ease;
}

@-webkit-keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 600px) {
  form {
    width: 80vw;
    min-width: initial;
  }
}
