/* Widerrufsformular - Admin Panel CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333333;
    line-height: 1.6;
}

/* Header */
.header {
    background-color: #333333;
    color: #ffffff;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 20px;
    font-weight: 600;
}

.header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-right a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.header-right a:hover {
    text-decoration: underline;
}

/* Navigation */
.nav {
    background-color: #ffffff;
    padding: 0 30px;
    border-bottom: 1px solid #dddddd;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav a {
    display: block;
    padding: 15px 0;
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400 !important;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.nav a:hover,
.nav a.active {
    color: #333333;
    border-bottom-color: #333333;
    font-weight: 400 !important;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 30px;
}

/* Cards */
.card {
    background: white;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid #dddddd;
}

h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333333;
}

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

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333333;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #dddddd;
    background-color: #ffffff;
    color: #333333;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #999999;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #333333;
    color: white;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #000000;
}

.btn-small {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-secondary {
    background-color: #666666;
}

.btn-secondary:hover {
    background-color: #333333;
}

.btn-danger {
    background-color: #dc3545;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
}

.btn-danger:hover {
    background-color: #c82333;
}

/* Messages */
.success {
    background: #f0f9f0;
    color: #2d7a2d;
    padding: 12px;
    margin-bottom: 20px;
    border-left: 3px solid #2d7a2d;
    font-size: 14px;
}

.error {
    background: #fff5f5;
    color: #cc0000;
    padding: 12px;
    margin-bottom: 20px;
    border-left: 3px solid #cc0000;
    font-size: 14px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th {
    background-color: #f5f5f5;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #333333;
    border-bottom: 2px solid #dddddd;
}

td {
    padding: 12px;
    border-bottom: 1px solid #eeeeee;
    font-size: 14px;
}

tr:hover {
    background-color: #fafafa;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border: 1px solid #dddddd;
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: #666666;
}

/* Details */
.detail-grid {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.detail-label {
    font-weight: 600;
    color: #666666;
    font-size: 14px;
}

.detail-value {
    color: #333333;
    font-size: 14px;
}

/* Links */
.back-link {
    display: inline-block;
    color: #666666;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 14px;
}

.back-link:hover {
    color: #333333;
}

.preview-link {
    display: inline-block;
    color: #666666;
    text-decoration: none;
    font-size: 13px;
    margin-top: 10px;
}

.preview-link:hover {
    color: #333333;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: #999999;
    font-size: 13px;
    border-top: 1px solid #dddddd;
    margin-top: 40px;
}

.footer a {
    color: #999999;
    text-decoration: none;
}

.footer a:hover {
    color: #666666;
}

/* Utility */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Additional Admin Styles */
.logo-preview {
    margin-top: 10px;
    max-width: 300px;
}

.logo-preview img {
    max-width: 100%;
    height: auto;
    border: 1px solid #dddddd;
    padding: 10px;
    background-color: #fafafa;
}

.help-text {
    font-size: 13px;
    color: #666666;
    margin-top: 5px;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.card-description {
    font-size: 14px;
    color: #666666;
    margin-bottom: 20px;
}

.info-box {
    background-color: #d1ecf1;
    border-left: 4px solid #0c5460;
    color: #0c5460;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #999999;
    font-size: 14px;
}
