.rust-servers-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.card:hover {
    transform: translateY(-4px);
}

.card-title {
    color: #333;
}

.card-body {
    background-color: #f9f9f9;
    padding: 16px;
    border-top: 1px solid #eee;
}
.rust-servers-fullwidth-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rust-server-fullwidth-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.2s;
}

.rust-server-fullwidth-card:hover {
    transform: translateY(-4px);
}

.rust-server-fullwidth-card h3 {
    margin: 0;
    font-size: 1.0em;
    color: #333;
}

.rust-server-fullwidth-card p {
    color: #666;
    font-size: 0.9em;
}

.rust-server-fullwidth-card button,
.rust-server-fullwidth-card a {
    font-size: 0.9em;
    cursor: pointer;
}
.rust-server-actions {
    display: flex;
}

.btn-view-server,
.btn-copy-server,
.btn-play-server {
    flex: 1;
    padding: 8px;
    text-align: center;
    color: #fff;
    border: none;
    cursor: pointer;
}
/* Button styling */
.rust-button-group .view-button {
    background-color: #008080; /* Teal for a fresh, lively look */
    color: #fff;
    border-radius: 5px 0 0 5px;
    padding: 10px 12px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.rust-button-group .copy-button {
    background-color: #ff9900; /* Bright orange for contrast */
    color: #fff;
    padding: 10px 12px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.rust-button-group .play-button {
    background-color: #336699; /* Slate blue for a high-end feel */
    color: #fff;
    border-radius: 0 5px 5px 0;
    padding: 10px 12px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.rust-button-group .view-button:hover {
    background-color: #006666;
}

.rust-button-group .copy-button:hover {
    background-color: #cc7a00;
}

.rust-button-group .play-button:hover {
    background-color: #264d73;
}
/* Adjust the card image to cover full height */
.rust-server-image {
    height: 100%;
    border-radius: 8px 0 0 8px;
    background-size: cover;
    background-position: center;
}

.grid-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    text-align: center;
    border: 1px solid #eaeaea;
    border-radius: 5px;
}

.grid-card:hover {
    transform: scale(1.05);
}

.grid-card .image {
    width: 100%;
    height: 200px;
    background-size: cover;
}

.grid-card .hover-details {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    display: none;
}

.grid-card:hover .hover-details {
    display: block;
}
/* Grid Container */
.bm-custom-rust-servers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Individual Card Styling */
.bm-grid-card {
    width: 200px;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s;
    background-color: #fff;
    text-align: center;
}

.bm-grid-card:hover {
    transform: scale(1.05);
}

/* Card Image */
.bm-card-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
}

/* Card Details */
.bm-card-details {
    padding: 10px;
}

.bm-server-name {
    font-size: 1.1em;
    color: #333;
    margin: 10px 0;
}

.bm-players, .bm-status {
    color: #666;
    font-size: 0.9em;
}

.bm-online {
    color: green;
}

.bm-offline {
    color: red;
}
/* Rust Servers Table */
.rust-servers-table {
    width: 100%;
    table-layout: fixed; /* Distribute space equally based on column widths */
    border-collapse: collapse;
    color: #333;
}

.rust-servers-table thead th {
    background-color: #333;
    color: #fff;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.rust-servers-table tbody tr {
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.rust-servers-table tbody tr:hover {
   background-color: rgba(0, 0, 0, 0.5);
}

/* Table Column Widths */
.rust-servers-table th:nth-child(1),
.rust-servers-table td.server-info {
    width: 35%; /* Server Info Column */
}

.rust-servers-table th:nth-child(2),
.rust-servers-table td.server-players {
    width: 20%; /* Players Column */
    text-align: center;
}

.rust-servers-table th:nth-child(3),
.rust-servers-table td.server-status {
    width: 15%; /* Status Column */
    text-align: center;
}

.rust-servers-table th:nth-child(4),
.rust-servers-table td.server-actions {
    width: 30%; /* Actions Column */
    text-align: center;
}

/* Semi-transparent overlay to make text readable */
.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Server Info in Table Cells */
.server-info h4 {
    margin: 0;
    font-size: 1.2em;
    color: #fff;
}

.server-info p {
    margin: 4px 0;
    color: #fff;
    font-size: 0.9em;
}
a.btn-play-server {
    background-color: red;
    border-radius: 0px 5px 5px 0px;
}
a.btn-view-server {
    background-color: green;
    border-radius: 5px 0px 0 5px;
}
button.btn-copy-server {
    background-color: orange;
}