/* General reset & body styling */
body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background-color: #f9f9f9;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

input, textarea, select, button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

button {
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    padding: 10px;
}

button:hover {
    background-color: #218838;
}

.add-step-button {
    margin-top: 10px;
}
.modify-btn {
    background-color: #007bff;
}

.modify-btn:hover {
    background-color: #0056b3;
}

.delete-btn {
    background-color: #dc3545;
}

.delete-btn:hover {
    background-color: #c82333;
}

.form-group {
    margin-bottom: 15px;
}

.message {
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
}

.success {
    color: #28a745;
}

.error {
    color: #dc3545;
}

/* Logo container */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 70px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 5px;
}

.logo {
    max-height: 50px;
}

.add-recipe-btn {
    display: inline-block;
    text-decoration: none;
    background-color: #28a745;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-left: auto;
}

.add-recipe-btn:hover {
    background-color: #218838;
}

/* Instruction styling */
.instruction-step label {
    margin-top: 10px;
}

.instruction-step input {
    margin-bottom: 10px;
}

/* Dashboard container */
.dashboard-container {
    text-align: center;
    margin: 0 auto;
}

/* Table styling */
.table-container {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 20px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

table th, table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table thead th {
    background-color: #28a745;
    color: #fff;
    text-align: left;
    font-weight: bold;
}

table tbody tr:hover {
    background-color: #f3f3f3;
}

table tbody tr:last-child td {
    border-bottom: 0;
}
.form-group {
    margin-bottom: 15px;
}

#types {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#types:focus {
    border-color: #007bff;
    outline: none;
}