body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    padding-top: 60px; /* Platz für den fixierten Header */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    background: #fff;
    padding: 30px 40px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

h1 {
    margin-top: 0;
    font-size: 24px;
    color: #222;
}

p {
    font-size: 14px;
    color: #666;
}

form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

input[type="url"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
}

button {
    padding: 10px;
    font-size: 16px;
    color: #fff;
    background-color: #0056b3;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #004494;
}

.result {
    margin-top: 20px;
    padding: 15px;
    background-color: #e9f7ef;
    border: 1px solid #c3e6cb;
    color: #155724;
    text-align: left;
}

.result a {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}

.result a:hover {
    text-decoration: underline;
}

.error {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    text-align: left;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 20px 0;
}

.stat-tile {
    flex: 1;
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 15px 5px;
    text-align: center;
    border-top: 4px solid #0056b3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 13px;
    font-weight: bold;
    color: #222;
}

.ad-container {
    margin: 20px 0;
    text-align: center;
}

.ad-test-banner {
    background-color: #eaeaea;
    border: 2px dashed #bbb;
    padding: 30px 10px;
    color: #777;
    font-size: 16px;
    font-weight: bold;
}

.ad-test-banner small {
    display: block;
    margin-top: 10px;
    font-weight: normal;
    font-size: 11px;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #0056b3;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    box-sizing: border-box;
    z-index: 1000;
}

.site-header .logo {
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}
.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}
.main-nav a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #ddd;
    font-size: 12px;
}

/* Tables & Layouts */
.container-wide {
    max-width: 900px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}
.data-table th, .data-table td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}
.data-table th {
    background: #f4f4f9;
}
.data-table tr:nth-child(even) {
    background: #fdfdfd;
}

.action-btn {
    padding: 5px 10px;
    font-size: 12px;
    background-color: #dc3545;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.action-btn:hover {
    background-color: #c82333;
}
.action-btn.success {
    background-color: #28a745;
}
.action-btn.success:hover {
    background-color: #218838;
}

/* Tabs */
.tabs-nav {
    display: flex;
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
    margin-top: 20px;
}
.tab-button {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-weight: bold;
    color: #666;
}
.tab-button:hover {
    color: #0056b3;
}
.tab-button.active {
    color: #0056b3;
    border-bottom-color: #0056b3;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
