/* Tabs styling */
.custom-tabs {
  margin-top: 20px;
}

.nav-tabs {
  border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
  border: 1px solid transparent;
  border-radius: 0;
  margin-bottom: -1px;
  padding: 10px 15px;
}

.nav-tabs .nav-link.active {
  border-color: #dee2e6 #dee2e6 #fff;
  border-radius: 0;
  background-color: #f8f9fa;
  color: #007bff;
}

.nav-tabs .nav-link:hover {
  border-color: #dee2e6 #dee2e6 #fff;
  background-color: #e9ecef;
  color: #0056b3;
}

/* Form styling */
.custom-register-form,
.custom-login-form {
  margin-top: 20px;
}

.custom-register-form .form-item,
.custom-login-form .form-item {
  margin-bottom: 15px;
}

.form-item label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-item input,
.form-item select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
}
.form-item input:focus,
.form-item select:focus {
    box-shadow: none;
}
button.link,
.form-item input[type="submit"] {
  background-color: rgba(25, 47, 89, 0.1);
    color: var(--secondary-color);
    border: none;
    cursor: pointer;
    width: auto;
    font-weight: 600;
    padding: 5px 20px;
    font-size: 16px;
    border: 2px solid rgba(25, 47, 89, 0.1);
}
button.link:hover,
.form-item input[type="submit"]:hover {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
}

.form-item input[type="password"] {
  font-size: 16px;
}

.form-submit
{
  margin-top:10px;
  margin-bottom:10px;
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
  width: 148px;
}

#register, #login
{
  margin: 10% !important;
}
#block-upsaicase-powered, #block-upsaicase-branding,#block-upsaicase-breadcrumbs
{
 display: none !important; 
}
#court-case-form
{
  margin: 10% !important; 
}




/* General styling for the main container */
.main-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Style for the tab navigation */
.custom-tabs .nav-tabs {
  margin-bottom: 20px;
}

.custom-tabs .nav-tabs .nav-item .nav-link {
  border: 1px solid #dee2e6;
  border-radius: 4px;
  color: #495057;
}

.custom-tabs .nav-tabs .nav-item .nav-link.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

/* Style for the forms */
.custom-login-form, .custom-register-form {
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
}

.custom-login-form .form-item, .custom-register-form .form-item {
  margin-bottom: 15px;
}

.custom-login-form .form-item label, .custom-register-form .form-item label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.custom-login-form .form-text, .custom-register-form .form-text,
.custom-login-form .form-email, .custom-register-form .form-email,
.custom-login-form .form-select, .custom-register-form .form-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 16px;
}

.custom-login-form .button, .custom-register-form .button {
  display: inline-block;
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.custom-login-form .button:hover, .custom-register-form .button:hover {
  background-color: #0056b3;
}

.custom-tabs .nav-tabs {
  justify-content: center;
  margin-bottom: 20px; /* Optional: Add some space below the tabs */
}

.custom-tabs .nav-item {
  margin: 0 5px; /* Optional: Adjust the spacing between tabs */
}



/* Basic Reset */
.menu, .menu-item, .menu-item a {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

/* Menu Container */
.menu {
  display: flex;
  background-color: #333; /* Dark background color */
  padding: 10px;
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Subtle shadow */
}

/* Menu Items */
.menu-item {
  margin: 0 10px; /* Spacing between menu items */
}

/* Menu Links */
.menu-item a {
  color: white; /* White text color */
  font-family: Arial, sans-serif; /* Font family */
  padding: 10px 15px; /* Padding for links */
  border-radius: 3px; /* Rounded corners for links */
  transition: background-color 0.3s ease; /* Smooth background transition */
}

/* Menu Links: Hover Effect */
.menu-item a:hover {
  background-color: #575757; /* Slightly lighter background on hover */
}

/* Active Menu Link */
.menu-item a[data-drupal-link-system-path="<front>"] {
  background-color: #444; /* Different background for active link */
}

/* Responsive Design */
@media (max-width: 600px) {
  .menu {
    flex-direction: column; /* Stack items vertically on small screens */
  }
  .menu-item {
    margin: 5px 0; /* Adjust spacing for vertical layout */
  }
}

.layout-container {
  margin: 0px !important;
}
#block-upsaicase-page-title, #block-upsaicase-content
{
  margin: 0 2.5em !important;

}



/* Container styling */
.search-block-form {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 0 2.5em;
}

/* Heading styling */
.search-block-form h2 {
  margin-bottom: 15px;
  font-size: 1.5em;
  font-weight: bold;
}

/* Form item styling */
.form-item {
  margin-bottom: 10px;
}

/* Input field styling */
.form-search {
  width: 86% !important;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

/* Submit button styling */
.button.form-submit {
  padding: 10px 20px;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
}

.button.form-submit:hover {
  background-color: var(--primary-color);
}
