/* Reset some default styles */
/* Dashboard Button Styles */
.dashboard-buttons {
    display: flex;
    justify-content: center; /* Center buttons */
    gap: 20px; /* Add space between buttons */
    margin-top: 40px;
    flex-wrap: wrap; /* Wrap buttons on small screens */
}

.dashboard-buttons .btn {
    display: inline-block; /* Ensure the link behaves like a button */
    padding: 15px 30px; /* Padding for the button */
    background-color: #007bff; /* Button color */
    color: #fff; /* Text color */
    text-decoration: none; /* Remove underline from link */
    border-radius: 5px; /* Rounded corners */
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Add hover effects */
    text-align: center; /* Center text in the button */
}

.dashboard-buttons .btn:hover {
    background-color: #0056b3; /* Darker color on hover */
    transform: translateY(-3px); /* Slight lift on hover */
}

.dashboard-buttons .btn:active {
    transform: translateY(1px); /* Button presses down slightly */
}

/* Style for the Logout button */
.dashboard-buttons .logout-btn {
    background-color: #dc3545; /* Red color for Logout */
}

.dashboard-buttons .logout-btn:hover {
    background-color: #c82333; /* Darker red on hover */
}

/* Responsive Design */

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* Container styling for centralizing content */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Header styling */
.header {
    text-align: center;
    padding: 20px 0;
    background-color: #007bff;
    color: #fff;
}

.header .logo {
    max-width: 100px;
    display: block;
    margin: 0 auto 10px;
}

/* Footer styling */
.footer {
    text-align: center;
    padding: 10px 0;
    background-color: #007bff;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
}

/* Form styling */
form {
    margin: 20px 0;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

form input[type="text"],
form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #0056b3;
}

/* Error and success messages */
.error, .success {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

/* Additional media queries for responsiveness */
@media (max-width: 768px) {
    .dashboard-buttons {
        flex-direction: column; /* Stack buttons vertically on small screens */
        gap: 15px; /* Space between buttons */
    }

    .dashboard-buttons .btn {
        width: 100%; /* Full width on small screens */
    }


}
