.lystruphave-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.lystruphave-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #2271b1;
    color: white;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

.lystruphave-header h2 {
    margin: 0;
    color: white;
}

.lystruphave-user {
    font-size: 14px;
}

#lystruphave-message {
    padding: 15px;
    margin: 0 0 20px;
    border-radius: 0 0 8px 8px;
    display: none;
}

#lystruphave-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#lystruphave-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.lystruphave-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 30px;
}

.lystruphave-form, .lystruphave-transactions {
    background: white;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lystruphave-form h3, .lystruphave-transactions h3 {
    margin-top: 0;
    color: #2271b1;
    border-bottom: 2px solid #2271b1;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}

.form-group input[readonly] {
    background: #f0f0f0;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 13px;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: #2271b1;
    color: white;
    width: 100%;
    margin-top: 10px;
}

.btn-primary:hover {
    background: #135e96;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
    margin-top: 15px;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.lystruphave-help {
    margin-top: 30px;
    padding: 20px;
    background: #e7f5ff;
    border: 1px solid #b3d9f2;
    border-radius: 6px;
}

.lystruphave-help h4 {
    margin: 15px 0 10px;
    color: #2271b1;
}

.lystruphave-help h4:first-child {
    margin-top: 0;
}

.lystruphave-help ul {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
}

.lystruphave-help li {
    margin-bottom: 5px;
}

.lystruphave-transactions .description {
    color: #666;
    font-size: 13px;
    margin: -5px 0 15px;
}

#lystruphave-loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid #2271b1;
}

tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}

tbody tr:hover {
    background: #f8f9fa;
}

.amount-positive {
    color: #2e7d32;
    font-weight: bold;
}

.amount-negative {
    color: #c62828;
    font-weight: bold;
}

.lystruphave-error {
    padding: 20px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: 8px;
    text-align: center;
}

@media (max-width: 1100px) {
    .lystruphave-grid {
        grid-template-columns: 1fr;
    }
}
