body {
  font-family: Arial, sans-serif;
  background-color: #181d30;
  
  /* Optional: Prevent content from being hidden behind the footer */
    padding-bottom: 48px; /* adjust if your footer is taller */
}

.container {
  max-width: 75%;
  margin-left: auto;
}
.sub-container {
  max-width: 100%;
  margin-left: auto;
  padding: 30px 15px;
}
h1 {
  font-size: 3rem;
  color: #dee2e6;
  font-weight: 700;
}

hr {
  border-top: 1px solid #dee2e6;
}

.text-center h1 {
  color: #2c3e50;
  font-weight: 700;
}

.database-group {
  background-color: #1f2937;
  border: 1px solid #324354;
  border-radius: 10px;
  transition: box-shadow 0.3s;
}

.database-group:hover {
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  background-color: #353e4a;
}

.rule-link {
  color: #333;
}

.rule-title {
  text-transform: capitalize;
  font-size: 1.5rem;
  font-weight: bold;
  color: #0056b3 !important;
  background-color: #181d30;
  border-radius: 20px 30px;
  padding: 10px;
  width: 100%;
}

.card .rule-title {
  text-transform: capitalize;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  width: fit-content;
}

.rule-author,
.rule-release {
  color: #bebebe;
}

.btn-info {
  background-color: #17a2b8;
  border: none;
}

.btn-success {
  background-color: #28a745;
  border: none;
}

.btn-warning {
  background-color: #ffc107;
  border: none;
}
#filterModal .modal-header {
  background-color: #17a2b8;
  color: white;
}
#filterModal .modal-footer {
  display: flex;
  justify-content: center;
  align-items: center;
}
#filterModal .modal-footer .btn {
  margin-left: 10px;
}
#filterModal .form-control {
  background-color: rgb(241, 241, 241);
}

.search .form-control {
  background-color: #dee2e6;
  color: #181d30;
}
.search .form-control:focus {
  background-color: #dee2e6;
}
.card {
  border: 4px dotted #181d30;
  border-radius: 15px;
  background-color: #27313f;
}
.bg-light {
  background-color: #9b9b9b !important;
  color: rgb(67, 67, 67);
}
.card p,
.card label {
  font-size: 1rem;
  color: #cdcdcd;
}

.card input,
.card textarea {
  border-radius: 5px;
}

.form-control {
  box-shadow: none;
  background-color: rgb(25, 32, 41);
  border: none;
  border-left: 6px solid rgb(17, 84, 156);
}

.form-control:focus {
  box-shadow: none;
  background-color: rgb(25, 32, 41);
  border: none;

  border-left: 6px solid rgb(17, 84, 156);
}

.btn-primary {
  background-color: #181d30;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.text-danger {
  color: #dc3545 !important;
}

.main-title {
  font-size: 3.5rem;
  color: #dee2e6;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.5rem;
  color: #7f8c8d;
}

.card h4 {
  font-size: 1.5rem;
  color: #f5f5f5;
  font-weight: bold;
}

.pre {
  font-family: "Courier New", monospace;
  font-size: 1rem;
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 10px;
}

.btn-primary {
  background-color: #0056b3;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0361c6;
}

.home-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 24px;
  color: #fafafa;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.home-icon:hover {
  transform: translateX(-5px);
}

.copy-btn {
  margin: auto;
  border-radius: 0.25rem;
  background-color: #27313f;
  color: rgb(22, 99, 182);
  border: none;
  display: flex;
  align-items: center;
}

.copy-btn:hover {
  color: rgb(17, 84, 156);
  background-color: #27313f;
  transform: translateY(-8px);
  transition: 0.5s;
}

.copy-btn:focus {
  background-color: #fafafa;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.copy-btn i {
  font-size: 2rem;
}

@media (max-width: 768px) {
  .databaseboxs .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .text-center {
    margin-bottom: 20px;
  }
}
.footer-fixed {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: #212436;
    border-top: 1px solid #34374a;
    color: #e0e6ed;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.17);
}
.footer-content {
    margin: 0 auto;
    padding: 0.6rem 0;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    font-weight: 600;
}
.footer-fixed a {
    color: #41bdfc;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
    margin-left: 5px;
}
.footer-fixed a:hover {
    color: #64d6ff;
}

