body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    max-width: 500px;
    margin: 50px auto;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

h2 {
    text-align: center;
    color: #444;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, button {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

button {
    background: #2575fc;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #6a11cb;
}

.error {
    color: red;
    text-align: center;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logout {
    text-decoration: none;
    background: #ff4b5c;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.logout:hover {
    background: #d6001c;
}

.add-form {
    margin-top: 15px;
}

.link-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.link-list li {
    background: #f5f5f5;
    padding: 10px;
    margin: 5px 0;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link-list a {
    text-decoration: none;
    color: #2575fc;
    font-weight: bold;
}

.delete {
    text-decoration: none;
    color: #ff4b5c;
    margin-left: 10px;
}
