/* Navbar styling */
.navbar {
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #333;
  font-family: Arial;
  width: auto;
}

/* Navigation links */
.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s; /* Smooth transition effect */
}

/* Dropdown styling */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button styling */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  cursor: pointer;
  transition: background-color 0.3s; /* Smooth transition effect */
}

/* Hover effect for navigation links and dropdown button */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #555; /* Darker background color on hover */
}

input[readonly] {
  background-color: #e9e9e9; /* Change the background color as needed */
  color: #333; /* Change the text color as needed */
  border: 1px solid #ccc; /* Add a border for visual clarity */
  padding: 6px 8px; /* Adjust padding as needed */
  width: 70%;
}

input[type="date"] {
  padding: 6px 8px; /* Adjust padding as needed */
}

/* Dropdown content styling */
.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;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #3498db;
  color: #ffffff;
  background-color: #3498db;
  border-radius: 5px;
  transition: background-color 0.3s;
  margin-left: auto; /* Align to the right */
  position: absolute;
  top: 300px; /* Adjust the top position as needed */
  right: 30px; /* Adjust the right position as needed */
}

/* Change the background color on hover */
.button:hover {
  background-color: #2980b9;
}


/* Dropdown item styling */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: background-color 0.3s; /* Smooth transition effect */
}

/* Hover effect for dropdown items */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Add this style to your existing <style> block or your external style.css file */
  .detail-button,
  .internal-memo-button,
  .form-pr-button,
  .closing-button {
  background-color: rgba(131, 19, 187, 0.445); /* Green background color */
  color: white; /* White text color */
  padding: 10px 20px; /* Add some padding */
  border: none; /* Remove border */
  border-radius: 5px; /* Add border radius */
  cursor: pointer; /* Add cursor on hover */
  margin: 5px; /* Add some margin */
  font-size: 16px; /* Set font size */
}

.fixed-button-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999; /* Set a high z-index to ensure it's above other elements */
}

/* Add styles for the fixed button */
.fixed-button {
  background-color: #007bff; /* Blue background color */
  color: white; /* White text color */
  padding: 10px 20px; /* Add some padding */
  border: none; /* Remove border */
  border-radius: 5px; /* Add border radius */
  cursor: pointer; /* Add cursor on hover */
  font-size: 16px; /* Set font size */
  text-decoration: none; /* Remove underline for links */
}

.fixed-button:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

.detail-button:hover,
.internal-memo-button:hover,
.form-pr-button:hover,
.closing-button:hover {
  background-color: rgb(142, 219, 197); /* Darker green on hover */
}


/* Display dropdown content on hover for larger screens */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Media query for mobile responsiveness */
@media only screen and (max-width: 600px) {
  /* Adjust padding for smaller screens */
  .navbar a, .dropdown .dropbtn {
    padding: 8px 12px;
  }

  /* Make navigation links and dropdown button display as block for better stacking */
  .navbar a, .dropdown {
    float: none;
    display: block;
    text-align: left;
  }

  /* Hide dropdown content by default on smaller screens */
  .dropdown-content {
    display: none;
    position: relative;
  }

  /* Display dropdown content on click for smaller screens */
  .dropdown:hover .dropdown-content, .dropdown:focus .dropdown-content {
    display: block;
  }
}
