/* File: public/css/style.css */

/* Apply the Inter font to the entire body */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #212529;
}

/* Container for centering content */
.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #343a40;
    margin-bottom: 20px;
}

/* Paragraphs */
p {
    line-height: 1.6;
}

/* Links */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
}

table th, table td {
    border: 1px solid #dee2e6;
    padding: 12px;
    text-align: left;
}

table th {
    background-color: #e9ecef;
    font-weight: bold;
}

/* Forms */
form {
    max-width: 600px;
}

form div {
    margin-bottom: 15px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

form input[type="text"],
form input[type="email"],
form input[type="date"],
form input[type="password"],
form select,
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
}

form input[type="submit"],
form button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
}

form input[type="submit"]:hover,
form button:hover {
    background-color: #0056b3;
    cursor: pointer;
}

/* Buttons */
button, .btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-align: center;
}

button:hover, .btn:hover {
    background-color: #0056b3;
    cursor: pointer;
}

/* Error Messages */
.error-messages {
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #842029;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #343a40;
    overflow: hidden;
}

nav ul li {
    float: left;
}

nav ul li a {
    display: block;
    color: #fff;
    padding: 14px 20px;
    text-decoration: none;
}

nav ul li a:hover {
    background-color: #495057;
}

/* Clear floats */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* In style.css */

a.button, a.btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

a.button:hover, a.btn:hover {
    background-color: #0056b3;
}


/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #f1f3f5;
    margin-top: 20px;
    color: #6c757d;
}
