/**
 * T26 Construction - WBCE CMS
 * @author      Thodde26 (Thorsten)
 * @link        https://www.thodde26.de
 * @file        backend.css
 * @license     http://www.gnu.org/licenses/gpl.html
 *              GNU General Public License v3.0
 */

:root {
    --t26-bg: #ffffff;
    --t26-surface: #f8fafc;
    --t26-border: #d1d5db;
    --t26-primary: #1d4ed8;
    --t26-primary-strong: #1e40af;
    --t26-text: #0f172a;
    --t26-muted: #475569;
    --t26-radius: 12px;
    --t26-gap: 18px;
}

.t26-admin-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 16px auto 32px;
    padding: 16px;
    box-sizing: border-box;
    color: var(--t26-text);
}

.t26-admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px 22px;
    background: var(--t26-surface);
    border: 1px solid var(--t26-border);
    border-radius: var(--t26-radius);
}

.t26-admin-header__logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.t26-admin-header__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: contain;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.t26-admin-header h2 {
    margin: 0 0 6px;
    font-size: 1.55rem;
    line-height: 1.2;
}

.t26-admin-header p {
    margin: 0;
    color: var(--t26-muted);
    font-size: 0.95rem;
}

.t26-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.t26-tab-btn {
    border: 1px solid var(--t26-border);
    background: #fff;
    color: var(--t26-text);
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    font-size: 0.95rem;
}

.t26-tab-btn:hover {
    background: #f1f5f9;
}

.t26-tab-btn.active {
    background: var(--t26-primary);
    color: #fff;
    border-color: var(--t26-primary-strong);
}

.t26-main-card {
    display: none;
    padding: 22px;
    background: var(--t26-surface);
    border: 1px solid var(--t26-border);
    border-radius: var(--t26-radius);
    margin-bottom: 20px;
}

.t26-tab-pane.active {
    display: block;
}

.t26-grid-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.t26-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.t26-form-group label {
    font-weight: 600;
}

.t26-input,
.t26-select {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--t26-border);
    border-radius: 10px;
    background: #fff;
    color: var(--t26-text);
    font-size: 0.96rem;
    box-sizing: border-box;
}

.t26-input:focus,
.t26-select:focus {
    outline: none;
    border-color: var(--t26-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.t26-info-box {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--t26-border);
    border-radius: 12px;
    color: var(--t26-text);
}

.t26-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.t26-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.97rem;
    transition: background 0.2s ease, transform 0.15s ease;
}

.t26-btn--primary {
    background: var(--t26-primary);
    color: #fff;
}

.t26-btn--primary:hover {
    transform: translateY(-1px);
    background: var(--t26-primary-strong);
}

.t26-btn--success {
    background: #16a34a;
    color: #fff;
}

.t26-btn--success:hover {
    transform: translateY(-1px);
    background: #15803d;
}

.t26-support-banner {
    padding: 18px 22px;
    border-radius: var(--t26-radius);
    border: 1px solid var(--t26-border);
    background: #f8fafc;
    color: var(--t26-text);
}

.t26-support-banner p {
    margin: 0;
    line-height: 1.6;
}

.t26-support-banner a {
    color: var(--t26-primary);
    text-decoration: none;
}

@media (max-width: 860px) {
    .t26-grid-container {
        grid-template-columns: 1fr;
    }
}
