/* static/style.css */

/* General Reset & Font */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f6fa;
    color: #333;
}

/* Login Page Styling */
.login-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to right, #4b6cb7, #182848);
    padding: 1rem;
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-card h2 {
    margin-bottom: 20px;
    color: #4b6cb7;
    font-weight: 600;
}

.login-card input,
.login-card button {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.login-card button {
    background-color: #4b6cb7;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.login-card button:hover {
    background-color: #3a549e;
}

.error-msg {
    color: red;
    margin-top: 10px;
    font-size: 14px;
}

/* Dashboard Layout */
.dashboard {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logout-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.logout-btn:hover {
    background-color: #c0392b;
}

.search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.search-bar input,
.search-bar button {
    padding: 10px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.search-bar button {
    background-color: #4b6cb7;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background-color: #3a549e;
}

.pdf-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.pdf-block a,
.pdf-block button {
    margin-left: 10px;
    font-size: 14px;
    color: #4b6cb7;
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}

.pdf-block a:hover,
.pdf-block button:hover {
    background-color: rgba(75, 108, 183, 0.1);
}

.suggestion {
    background: #eee;
    padding: 5px 10px;
    margin: 2px 0;
    cursor: pointer;
    border-radius: 4px;
}

.suggestion:hover {
    background: #ddd;
}
