/* Gassenflohmarkt Admin Styles – modern, abgerundet, vorausschauend */

@import url('basic_style.css');

/* restliches Admin-Layout */

.container {
    width: 600px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}


.admin-container {
    max-width: 960px;
    margin: 40px auto;
    background: var(--primary-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

h1 {
    text-align: center;
}

.admin-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: background 0.3s;
}

.button:hover {
    background: var(--accent-hover);
}

.button-secondary {
    background: #cccccc;
    color: #333;
}

.button-secondary:hover {
    background: #aaaaaa;
}

.table-container {
    background: var(--primary-bg);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 20px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table th,
table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background: var(--secondary-bg);
}

.status-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    background: #ddd;
    color: #333;
}

.section {
    margin-bottom: 40px;
}

.status-active {
    background: #c2f2d0;
    color: #267b42;
}

.status-inactive {
    background: #f7d4d4;
    color: #a94442;
}

.hidden {
    display: none;
}

.toggle {
    cursor: pointer;
    font-weight: bold;
    color: var(--accent-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.error-msg {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}


.disabled {
    color: #ccc !important;
    cursor: not-allowed;
}

