/* General styles */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f6fb;
    color: #222;
    margin: 20vh;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 32px;
}

/* Headings */
h1,
h2,
h3 {
    color: #2a3a5e;
    margin-top: 0;
}

/* Buttons */
button,
.btn {
    background: #2a3a5e;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    margin: 8px 0;
}

button:hover,
.btn:hover {
    background: #405080;
}

/* Links */
a {
    color: #2a3a5e;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #405080;
    text-decoration: underline;
    cursor: pointer;
}

/* Inputs */
input,
select,
textarea {
    border: 1px solid #cfd8dc;
    border-radius: 5px;
    padding: 8px;
    font-size: 1rem;
    margin: 6px 0 12px 0;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2a3a5e;
    outline: none;
}

/* Cards or list items */
.card,
.list-item {
    background: #f9fafc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 18px 24px;
    margin-bottom: 18px;
    transition: box-shadow 0.2s;
}

.card:hover,
.list-item:hover {
    box-shadow: 0 4px 16px rgba(42, 58, 94, 0.12);
    cursor: pointer;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid #e0e6ed;
    text-align: left;
}

th {
    background: #e0e6ed;
    color: #2a3a5e;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 12px;
    }

    th,
    td {
        padding: 8px;
    }
}

tr:hover {
    cursor: pointer;
    background-color: lightcoral;
    position: relative;
}



tr:hover::after {
    content: "🗑️ Törlés";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: #e74c3c;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    pointer-events: none;
}