body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

.main-container, .dashboard-container {
    display: flex;
    align-items: center;
    height: 90vh;
    width: 100%;
}

.main-container-signup {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center;
    height: 90vh;
    width: 100%;
}


.content-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: -300px; /* Move the wrapper higher on the page */
}

.title-area-index {
    padding: 20px;
    width: 550px;
    margin-right: 50px;
    font-size: 1.8em;
}

.title-area-signup, .title-area-login {
    padding: 20px;
    font-size: 1.8em;
}

.login-area, .signup-area {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 400px;
    font-size: 1.2em;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
    font-size: 1em;
}

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

p {
    margin-top: 20px;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.info-icon {
    display: inline-block;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 50%;
    background-color: #007BFF;
    color: white;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    font-weight: bold;
    vertical-align: middle;
}

.info-icon:hover::after {
    content: attr(title);
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 4px;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 10;
    font-size: 12px;
}

.top-navbar {
    width: 100%;
    background-color: white;
    padding: 10px;
    text-align: right;
    position: relative;
}

.top-navbar .dropdown {
    display: inline-block;
    position: relative;
}

.dropbtn {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.dropbtn:hover, .dropbtn:focus {
    background-color: #0056b3;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.top-navbar a {
    width: 100%;
    background-color: white;
    padding: 10px;
}

.side-navbar {
    position: fixed;
    left: 0;
    top: 60px;
    width: 200px;
    background-color: #f4f4f4;
    height: calc(100% - 60px);
    padding: 10px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.side-navbar a {
    display: block;
    color: #444;
    padding: 10px;
    text-decoration: none;
}

.side-navbar a:hover {
    background-color: white;
}

.main-content {
    margin-left: 220px;
    padding: 20px;
}

.footer {
#    padding: 3rem 1.5rem 6rem;
}


.recipe {
    cursor: pointer;
    color: blue;
    text-decoration:
    underline;
}

.container {
    display: flex;
}

.alphabet-filter {
    flex: 0 0 50px;
    margin-right: 20px;
}

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

.alphabet-filter ul li {
    cursor: pointer;
    padding: 5px;
    text-align: center;
}

.alphabet-filter ul li:hover {
    background-color: #f0f0f0;
}

.table-container {
    flex: 1;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 8px;
    text-align: left;
}

th {
    cursor: pointer;
}

th:hover {
    background-color: #f0f0f0;
}

#pagination-controls {
    margin-top: 20px;
    text-align: center;
}

#pagination-controls button {
    cursor: pointer;
    padding: 5px 10px;
    margin: 0 5px;
}

#pagination-controls button:hover {
    background-color: #f0f0f0;
}

.recipe-card {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.recipe-card-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

td.recipe-card {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}

td.recipe-card:hover {
    color: darkblue;
}
