/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
a {
  text-decoration: none;
}

.notification-container {
  position: relative;
  display: inline-block;
}

.notification {
  font-size: 2rem; /* Size of the bell icon */
  position: relative;
}

.notification-count {
  position: absolute;
  top: -5px;  /* Position the number slightly above the bell */
  right: -5px; /* Position the number to the top-right */
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 0.2rem 0.4rem; /* Reduced padding for smaller circle */
  font-size: 0.8rem; /* Smaller font size to make the number fit nicely */
  font-weight: bold;
  min-width: 18px; /* Minimum width for the circle */
  height: 18px; /* Set a fixed height for the circle */
  text-align: center;
  line-height: 18px; /* Vertically center the number */
}

/* Layout */
body {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 250px;
  background-color: #2d3436;
  color: #dfe6e9;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.sidebar h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.sidebar nav a {
  color: #dfe6e9;
  padding: 10px;
  text-decoration: none;
  border-radius: 5px;
  margin-bottom: 10px;
  display: block;
}

.sidebar nav a.active,
.sidebar nav a:hover {
  background-color: #636e72;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 20px;
  background-color: #f5f6fa;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.header-left input {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.header-right .notification,
.header-right .profile {
  font-size: 20px;
  margin-left: 15px;
  cursor: pointer;
}

/* Overview Cards */
.overview-cards {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.card {
  flex: 1;
  padding: 20px;
  background-color: #0984e3;
  color: white;
  border-radius: 10px;
  text-align: center;
  font-size: 18px;
}

.card:nth-child(2) {
  background-color: #00b894;
}

.card:nth-child(3) {
  background-color: #fdcb6e;
}

/* Charts */
.charts {
  display: flex;
  gap: 20px;
}

.chart {
  flex: 1;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Login Page Styles */

/* Center login container only when login page is displayed */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background-color: #f5f6fa;
}

/* Login box styling */
.login-box {
  background-color: #2d3436;
  color: #dfe6e9;
  width: 300px;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.login-box h2 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: bold;
}

/* Input group styling */
.input-group {
  margin-bottom: 15px;
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  outline: none;
  box-sizing: border-box;
}

/* Login button styling */
.login-button {
  width: 100%;
  padding: 10px;
  background-color: #0984e3;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-button:hover {
  background-color: #74b9ff;
}

.dropdown {
position: relative; /* To position the dropdown menu */
display: inline-block; /* Ensure inline layout with other items */
}

/* Dropdown Content */
.dropdown-content {
display: none; /* Hidden by default */
position: absolute;
left: 0; /* Align dropdown under the parent link */
background-color: #2d3436; /* Match sidebar background color */
padding: 10px 0; /* Add spacing for links inside dropdown */
border-radius: 5px;
z-index: 1; /* Ensure it appears on top */
min-width: 180px; /* Consistent dropdown width */
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* Add subtle shadow */
}

/* Dropdown Links */
.dropdown-content a {
padding: 10px 20px;
display: block;
color: #dfe6e9; /* Match sidebar text color */
text-decoration: none;
}

.dropdown-content a:hover {
background-color: #636e72; /* Highlight on hover */
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-content {
display: block;
}

/* Add Dropdown Arrow Indicator */
.dropdown > a::after {
content: " ▼"; /* Arrow symbol */
font-size: 12px;
margin-left: 5px;
color: #dfe6e9;
}

/* Styling for the table */
table {
  width: 100%;
  border-collapse: collapse; /* Ensures cells are next to each other */
  margin-bottom: 20px;
}

th, td {
  padding: 12px; /* Add padding for better spacing */
  text-align: left;
  border: 1px solid #ddd; /* Add border to the cells */
}

td input[type="text"], td input[type="number"] {
  width: 100%; /* Make inputs fill the cell */
  padding: 8px; /* Add padding to input fields */
  font-size: 14px; /* Adjust the font size */
  border: 1px solid #ddd; /* Border for the input fields */
  border-radius: 4px; /* Rounded corners for input fields */
  box-sizing: border-box; /* Ensure padding doesn't affect the width */
}

td input[type="text"]:focus, td input[type="number"]:focus {
  outline-color: #4CAF50; /* Highlight the field when focused */
  border-color: #4CAF50;
}

/* Optional: Add spacing between rows */
tbody tr {
  margin-bottom: 10px;
}

  body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
  }
  .container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  .container h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
  }
  .logo {
    display: block;
    margin: 0 auto 20px;
    text-align: center;
  }
  .logo img {
    max-width: 100px;
    height: auto;
  }
  .form-group {
    margin-bottom: 15px;
  }
  .form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
  }
  .form-group input,
  .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  .form-group.input-row {
    display: flex;
    justify-content: space-between;
  }
  .form-group.input-row .input-group {
    width: 48%;
  }
  .form-group input[type="submit"],
  .form-group button {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
  }
  .form-group button {
    margin-right: 10px;
    background-color: #007bff;
  }
  .form-group button:hover,
  .form-group input[type="submit"]:hover {
    background-color: #218838;
  }
  .form-group button:hover {
    background-color: #0056b3;
  }
  .note {
    margin-bottom: 15px;
    color: #666;
  }
  .alert {
    color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
  }
  .alert-danger {
    background-color: #dc3545;
  }
  .hidden {
    display: none;
  }
  .step {
    display: none;
  }
  .step.active {
    display: block;
  }
  .button-row {
    display: flex;
    justify-content: space-between;
  }
  .error-list {
    margin-top: 10px;
    color: #dc3545;
  }
  .error-list ul {
    padding: 0;
    list-style: none;
  }
  .error-list li {
    margin-bottom: 5px;
  }
  /* Container for input and button */
.input-with-button {
display: flex;
width: 100%;
}

.input-with-button input {
flex-grow: 1; /* Makes the input field take up most of the space */
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}

.input-with-button button {
background-color: #ff6600;
color: #fff;
border: none;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border-radius: 4px;
margin-left: 10px; /* Space between input and button */
transition: background-color 0.3s ease;
white-space: nowrap; /* Prevents button text from wrapping */
}

.input-with-button button:hover {
background-color: #cc5200;
}

.input-group {
margin-bottom: 15px;
}

label {
display: block;
margin-bottom: 5px;
color: #333;
}

/* Basic modal styling */
#paymentModal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
}

/* Modal content box */
.modal-content {
background-color: white;
padding: 20px;
border-radius: 8px;
width: 300px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
align-items: center;
}

/* Title of the modal */
.modal-content h3 {
margin: 0 0 15px;
font-size: 18px;
font-weight: bold;
text-align: center;
}

/* Form input styling */
.input-container {
margin-bottom: 15px;
width: 100%;
}

/* Labels */
.input-container label {
display: block;
font-size: 14px;
margin-bottom: 5px;
color: #333;
}

/* Input fields */
.input-container input {
width: 100%;
padding: 8px;
font-size: 14px;
border: 1px solid #ccc;
border-radius: 5px;
outline: none;
}

.input-container input:disabled {
background-color: #f2f2f2;
cursor: not-allowed;
}

/* Submit button */
.submit-btn {
padding: 10px 20px;
background-color: #28a745;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
width: 100%;
}

.submit-btn:hover {
background-color: #218838;
}

/* Close button */
.close-btn {
padding: 10px 20px;
background-color: #dc3545;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
width: 100%;
margin-top: 10px;
}

.close-btn:hover {
background-color: #c82333;
}

/* Button to trigger the modal (testing purposes) */
.trigger-btn {
padding: 10px 20px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}

.trigger-btn:hover {
background-color: #0056b3;
}
