:root {
    --primary: #22548e;
    --primary-hover: #183b66;
    --bg: #f5f5f7;
    --white: #ffffff;
    --text: #1d1d1f;
    --input-bg: #f0f0f5;
    --border: #d2d2d7;
    --accent: #d8b868;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding-top: 85px;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    min-height: 70px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    padding: 0;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-account {
    border: 1px solid transparent;
    padding: 8px 20px;
    border-radius: 9999px;
    background: #e8e8ed;
    text-decoration: none;
    color: var(--text) !important;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-account:hover {
    background: #d1d1d6;
    transform: scale(0.98);
}

.section-header {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.section-header h2 {
    margin: 0;
    color: var(--text);
    font-size: 2rem;
    font-weight: 700;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
    border: none;
}

.verein-info-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .verein-info-grid {
        grid-template-columns:1fr;
    }
}

.subsection-title {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.info-item strong {
    font-size: 0.85rem;
    color: #86868b;
    display: block;
    margin-bottom: 0;
    text-transform: uppercase;
}

.team-grid {
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.person-card {
    background: var(--white);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s;
}

.person-card:hover {
    transform: translateY(-3px);
}

.outline-box {
    border: 1px solid transparent;
    border-radius: 24px;
}

input {
    width: 100%;
    padding: 16px 24px;
    margin-bottom: 15px;
    border: 1px solid transparent;
    border-radius: 9999px;
    box-sizing: border-box;
    background-color: var(--input-bg);
    font-size: 1rem;
    color: var(--text);
}

input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(34, 84, 142, 0.1);
}

button {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--input-bg);
    color: var(--text);
}

.btn-secondary:hover {
    background: #e5e5ea;
    transform: scale(0.98);
}

.btn-link {
    background: none;
    color: var(--text);
    text-decoration: underline;
    padding: 10px;
    font-size: 0.9rem;
}

.auth-choice-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-card {
    padding: 25px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
}

.admin-info strong {
    font-size: 1.1rem;
    display: block;
}

.admin-info small {
    color: #86868b;
    display: block;
    margin-bottom: 15px;
}

.admin-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer {
    text-align: center !important;
    padding: 20px 0;
    font-size: 0.75rem;
    color: #aaa;
    margin: 40px auto 0 auto;
    width: 100%;
    box-sizing: border-box;
}

#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 250px;
    background: var(--text);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 9999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: #34c759;
}

.toast.error {
    background: #ff3b30;
}