body {
    font-family: Arial, sans-serif;
    background: #f4f7fb;
    color: #2c3e50;
    margin: 0;
    padding: 0;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2c3e50;
    padding: 0 20px;
    min-height: 60px;
    box-sizing: border-box;
    width: 100%;
}

.top-menu-wrapper {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.top-menu-wrapper .top-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
    white-space: nowrap;
}

.top-right a {
    color: #ffffff;
    text-decoration: underline;
}

.top-right a:hover {
    color: #f0c674;
}

.top-menu a:hover {
    color: #f0c674;
}

.container {
    max-width: 540px;
    margin: 30px auto;
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

h1 {
    margin-top: 0;
    color: #1f3344;
}

form label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
}

form input,
form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d7e0;
    border-radius: 8px;
    box-sizing: border-box;
    margin-top: 6px;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #2c3e50;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 12px;
}

button:hover {
    background: #1a2838;
}

.error {
    background: #ffe9e9;
    border: 1px solid #f5c6c6;
    color: #c0392b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.success {
    background: #eaf7ed;
    border: 1px solid #b7dfb6;
    color: #2f7a40;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
}

p a {
    color: #2c3e50;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}
