body {
    margin: 0;
    padding: 0;
    background-color: #f2f2f2; /* Light grey background */
    font-family: Arial, sans-serif;
}

/* Fixed Banner */
.banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #0F1626;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.site-title {
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.nav-buttons a {
    text-decoration: none;
    color: white;
    background-color: #1C2541;
    padding: 8px 14px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-buttons a:hover {
    background-color: #3A506B;
}

/* Main content pushed below banner */
.main-content {
    padding-top: 80px;
}

/* Search Form Styling */
.search-form {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    flex-direction: column;
    align-items: center;
}

.search-form input[type="text"] {
    width: 400px;
    padding: 12px 20px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-form input[type="text"]:focus {
    border-color: #3A506B;
    box-shadow: 0 0 5px rgba(58, 80, 107, 0.4);
}

.search-form input[type="submit"] {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 20px;
    background-color: #1C2541;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-form input[type="submit"]:hover {
    background-color: #3A506B;
}

.login-box {
    width: 350px;
    margin: 40px auto;
    padding: 25px 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-form label {
    font-weight: bold;
    margin-bottom: 4px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.login-form input[type="submit"] {
    margin-top: 10px;
    padding: 10px;
    font-size: 16px;
    background-color: #1C2541;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-form input[type="submit"]:hover {
    background-color: #3A506B;
}

.error-message {
    color: red;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}


.reviews-container {
    max-width: 700px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-block {
    background-color: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-left: 6px solid #3A506B;
}

.review-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.review-scores {
    font-weight: bold;
    color: #1C2541;
}

.review-comment {
    font-size: 15px;
    line-height: 1.4;
    color: #444;
    white-space: pre-wrap;
}

.search-results-container {
    max-width: 700px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-result-block {
    background-color: #ffffff;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #3A506B;
    transition: box-shadow 0.2s;
}

.search-result-block:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.result-name {
    font-size: 18px;
    font-weight: bold;
    color: #1C2541;
    text-decoration: none;
}

.result-name:hover {
    text-decoration: underline;
}

.result-university {
    font-size: 14px;
    color: #555;
    margin-top: 4px;
}