/* styles.css */

/* General Styles */
body {
    background: linear-gradient(to right, #141E30, #243B55);
    color: white;
    font-family: 'Arial', sans-serif;
}

h1 {
    margin-bottom: 40px;
    font-size: 3rem;
    font-weight: bold;
}

/* Common Card Styles */
.custom-card {
    background-color: #1B2A41; /* Ensure all cards have this background */
    color: white;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
}

.container .server-card {
    background-color: #1B2A41 !important; /* Apply background color with more specificity */
    color: white !important; /* Ensure text color */
    border-radius: 15px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 15px !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    border: none !important;
}

/* Hover effect for both card types */
.custom-card:hover, .server-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    width: 100%;
    height: 12rem; /* Fixed image height */
    object-fit: cover; /* Ensures the image covers the entire area without stretching */
}

.card-title {
    font-size: 1.5rem;
    color: #00A8E8;
}

.card-text {
    color: #A0A0A0;
}

.btn-primary {
    background-color: #00A8E8;
    border-color: #00A8E8;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: #005778;
    border-color: #005778;
}

/* Status Dot Styles for Server Cards */
.status-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px; /* Adds some spacing to the right of the dot */
}

.status-online {
    background-color: green;
}

.status-restarting {
    background-color: yellow;
}

.status-offline {
    background-color: red;
}

/* Link Styling */
.form-text.text-muted {
    color: #FFD700 !important; /* Bright yellow color for contrast */
}

.form-text.text-muted a {
    color: #00A8E8 !important; /* Bright blue for the link */
    text-decoration: underline; /* Underline to indicate it's a link */
}

.form-text.text-muted a:visited {
    color: #0077A8 !important; /* Muted blue when visited */
}

.form-text.text-muted a:hover {
    color: #005778 !important; /* Darker blue on hover */
}
