/* General Page Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

/* Header */
header {
    background-color: #007bff;
    color: white;
    padding: 15px 20px;
    text-align: center;
}

header h1 {
    margin: 0;
}

nav {
    margin-top: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 20px;
    background-color: #b422a1;
}

.hero h2 {
    color: #0056b3;
    font-size: 28px;
}

.hero p {
    font-size: 18px;
    margin-top: 10px;
}

.cta-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* Features Section */
.features {
    padding: 40px 20px;
    text-align: center;
}

.features h2 {
    color: #0056b3;
}

.features ul {
    list-style-type: none;
    padding: 0;
}

.features li {
    font-size: 18px;
    padding: 10px;
}
/*Pets*/
.card-img-top {
    width: 100%; /* Makes it responsive */
    height: 200px; /* Adjust height */
    object-fit: cover; /* Ensures it doesn't stretch */
}
.sidebar {
    width: 250px; /* Adjust as needed */
    overflow-y: auto; /* Prevents unwanted stretching */
}
.bg-post { background-color: #28a745; }
.bg-dm { background-color: #17a2b8; }
.bg-ticket { background-color: #ffc107; }

/* Footer */
footer {
    flex-shrink: 0;
    text-align: center;
    padding: 15px;
    background-color: #007bff;
    color: white;
    margin-top: 20px;
}

/* Custom CSS for the Global Django Error Message Banner */
.container .alert-danger {
    /* Base styling for the alert box */
    border-radius: 10px;
    font-size: 0.95rem;
    padding: 15px 20px;
    margin-top: 20px; /* Add space below the header */
    
    /* Error Color Scheme: Soft background, strong text */
    background-color: #ffe0e0 !important; /* Very light red background */
    border: 1px solid #ff4d4d !important; /* Slightly darker red border */
    color: #cc0000 !important; /* Dark red text */
    font-weight: 600;
    
    /* Center the text and add icon */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(255, 77, 77, 0.2); /* Subtle shadow for prominence */
}

/* Add an icon to the message for visual impact */
.container .alert-danger:before {
    /* Use Bootstrap Icon unicode for the warning icon */
    content: "\F335"; /* bi-x-octagon-fill unicode */
    font-family: "bootstrap-icons";
    font-size: 1.1rem;
    margin-right: 10px;
}

/* Styling the close button to align with the alert height */
.container .alert-danger .btn-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.container .alert-danger .btn-close:hover {
    opacity: 1;
}
