/* General Resets */
body {
    margin: 0;
    font-family: sans-serif;
    background-color: #f4f4f9;
}

/* Top Bar Component */
.top-bar {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Icon Location Component */
.site-identity {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Icon Component - CORRECTION HERE */
.site-icon {
    font-size: 1.5em;
    color: #FFEB3B; /* This color was missing or incorrect previously */
}

/* Site Name Component in Top Bar*/
.site-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #4CAF50;
}

/* User Info Component */
.user-info-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Displaying who is logged in Component in Top Bar*/
.logged-in-as {
    font-size: 0.9em;
    color: #ccc;
}

/* Login Button Component in Top Bar*/
.login-button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 8px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #0056b3;
}

/* Purchase Button in the Top Bar*/
.purchase-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.purchase-button:hover {
    background-color: #388E3C;
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 20px;
}

/* Add Book Button in Navbar */
.add-book-button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 16px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.add-book-button:link,
.add-book-button:visited,
.add-book-button:active {
    background-color: #007BFF;
    color: white;
    text-decoration: none;
}

.add-book-button:hover {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
}

/* Main Content Area */
.content {
    padding: 50px 20px;
    text-align: center;
}

/* Feature Buttons Container */
.feature-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

/* Individual Feature Button Styling */
.feature-button {
    width: 300px;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.feature-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Specific Button Colors */
.button-browse {
    background-color: #4CAF50;
}
.button-purchase {
    background-color: #FF9800;
    font-size: 1.5em;
    padding: 20px 40px;
}
.button-recs {
    background-color: #2196F3;
}

/* Button Notes */
.button-note {
    display: block;
    font-size: 0.8em;
    font-weight: normal;
    margin-top: 5px;
    opacity: 0.8;
}