/*
    Document   : base
    Modernized : 2026-05-09
    Description: Base/Common styles for Fristenrechner application pages.
*/

:root {
    --primary: #0066cc;
    --primary-background: #61B0FF;
    --primary-hover: #004d99;
    --bg-color: #f0f7ff;
    --card-bg: #ffffff;
    --text-color: #333;
    --muted-color: #666;
    --border-color: #ddd;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    padding-top: 2rem;
    padding-bottom: 4rem;
    margin: 0;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

article {
    background: var(--card-bg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

hgroup h1 {
    color: #004d99;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

hgroup p {
    margin-top: 0;
    color: var(--muted-color);
}

.overflow-auto {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

table th, table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background-color: var(--primary-hover);
}

textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

footer {
    text-align: center;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}
