
.my-head {
        padding-top: 0px;
        text-align: center;
        
}

.my-head span {
    display: inline-block;
    line-height: 36px;
    font-weight: normal;
        font-size: 30px;
        /* color:#555; */
        padding-top: 20px;
        padding-bottom: 10px;
}

.my-head p {
    font-size: 13px;
    color: #555;
}

.my-nav {
        text-align: center;
}

.my-search {
        white-space:normal;
        text-align: center;
        max-width: 420px;
        padding-left: 10px;

}

.my-search input {
        /*width: 80%;*/
}

.row {
        vertical-align: middle;
        width: 88%;
        display: block;
}

th{
        text-align: center;
}

td{
        text-align: center;
}

.label-badge {
        padding: 7px 7px;
        border-radius: 25%;
}
.radius1 {
        border-radius: 2%;
}

.label-danger {
    background-color: #E34040;
}
.label-primary {
    background-color: #0094E0;
}
table{
        font-size: 15px;
}
.custom-text-sm1{
    color: red !important;
}


/* Announcement Banner Styles */
.announcement-banner {
  background-color: #f8f9fa; /* Light background */
  color: #343a40; /* Dark text */
  padding: 10px 0;
  overflow: hidden; /* Hide overflowing content */
  white-space: nowrap; /* Prevent text wrapping */
  border-bottom: 1px solid #dee2e6; /* Subtle border */
  margin-bottom: 15px; /* Add some space below */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

.announcement-content {
  display: inline-block; /* Allow animation */
  padding-left: 100%; /* Start off-screen */
  animation: scroll-left 30s linear infinite; /* Animation properties */
}

.announcement-content span {
  display: inline-block;
  padding: 0 30px; /* Spacing between announcements */
  font-size: 14px;
}

/* Scrolling Animation */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); /* Move left by its own width */
  }
}

/* Pause animation on hover */
.announcement-banner:hover .announcement-content {
  animation-play-state: paused;
}

/* General Style Improvements */
body {
    font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* More modern font stack */
    background-color: #f4f7f6; /* Lighter page background */
}

.center-block {
    background-color: #ffffff; /* White background for main content */
    box-shadow: 0 0 10px rgba(0,0,0,0.05); /* Subtle shadow for content block */
    border-radius: 8px; /* Rounded corners */
    padding-top: 15px; /* Add padding top */
    padding-bottom: 15px; /* Add padding bottom */
}

.nav-primary > li > a {
    border-radius: 4px; /* Rounded corners for nav links */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.nav-primary > li.active > a,
.nav-primary > li > a:hover,
.nav-primary > li > a:focus {
    background-color: #3280fc; /* Consistent active/hover color */
    color: #fff;
}

.nav-tabs > li > a {
    border-radius: 4px 4px 0 0; /* Rounded top corners for tabs */
}

.table {
    border: 1px solid #dee2e6; /* Add border to table */
    border-radius: 4px; /* Rounded corners for table */
    overflow: hidden; /* Ensure border-radius clips content */
}

.table thead th {
    background-color: #e9ecef; /* Light grey header */
    color: #495057; /* Darker text for header */
    border-bottom: 2px solid #dee2e6;
    font-weight: 600; /* Bolder header text */
}

.table tbody tr:nth-child(odd) {
    background-color: #f8f9fa; /* Slightly different background for odd rows */
}

.table tbody tr:hover {
    background-color: #e2e6ea; /* Hover effect for rows */
}

.label {
    padding: .3em .6em .3em; /* Adjust padding */
    font-size: 85%; /* Slightly larger label font */
}

.label-primary {
    background-color: #007bff; /* Standard primary color */
}

.label-danger {
    background-color: #dc3545; /* Standard danger color */
}

/* Responsive adjustments if needed */
@media (max-width: 768px) {
    .nav-primary li,
    .nav-tabs li {
        width: auto !important; /* Allow nav items to wrap on smaller screens */
        float: none;
        display: inline-block;
    }
    .nav-primary,
    .nav-tabs {
        text-align: center;
    }
}



/* Algorithm Button Styles */
#tab2Content1 .nav-primary {
    display: flex; /* Use flexbox for layout */
    flex-wrap: wrap; /* Allow wrapping */
    justify-content: space-around; /* Distribute space */
    padding-left: 0; /* Remove default ul padding */
    list-style: none; /* Remove default list style */
}

#tab2Content1 .nav-primary li {
    width: 23%; /* Approx 4 per row with some spacing */
    margin-bottom: 10px; /* Space between rows */
    text-align: center; /* Center text in list item */
}

#tab2Content1 .nav-primary li a {
    display: block; /* Make the link fill the li */
    padding: 8px 5px; /* Adjust padding */
    font-size: 13px; /* Adjust font size if needed */
}

/* Responsive adjustments for Algorithm Buttons */
@media (max-width: 768px) {
    #tab2Content1 .nav-primary li {
        width: 48%; /* Approx 2 per row */
        margin: 1%; /* Small margin */
    }

    /* Adjustments for the first set of buttons (组合, 杀组, etc.) if they are also nav-primary */
    /* Assuming they are the first nav-primary inside tab2Content1 */
    #tab2Content1 > .nav-primary:first-of-type li {
        width: 48%; /* 2 per row for these as well */
        margin: 1%;
    }
}

