/* Modern CSS with CSS Variables */
:root {
    --primary-dark: #5C1233;
    --primary: #C5073D;
    --primary-light: #E8526B;
    --text-dark: #5C1233;
    --text-light: #ffffff;
    --background: #f5f5f5;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    background-attachment: fixed;
	font-size: 0.89rem;
}

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

.form-container,
.content,
.login-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    width: 100%;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    height: 48px;
    padding: 0.75rem 48px 0.75rem 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1.2rem;
    line-height: 1.25;
    transition: var(--transition);
    background: white;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(197, 7, 61, 0.1);
}

/* Password Toggle Icon */
.password-toggle {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    margin: 0;
    z-index: 2;
}

.password-toggle i {
    font-size: 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.password-toggle:hover {
    color: var(--primary);
}

/* Navigation */
.navbar {
    background: rgba(92, 18, 51, 0.95);
    padding: 11px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
	justify-content: space-between;
}

.logo-container {
    width: 100%;
	height: 76px;
    margin-right: 20px;
	background-image: url("logo_mp24.svg");
	background-repeat: no-repeat;
	background-position: 0%;
	background-size: contain;
}

.logo-placeholder {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.navbar a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
}

.navbar a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Buttons */
button,
.button {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 500;
    transition: var(--transition);
	text-decoration: none !important;
}

button:hover,
.button:hover,
.login-small:hover
 {
    background: var(--primary-dark);
    /* transform: translateY(-1px); */
}

a.zoom-embed-btn {
	color: #fff !important;
	background-color: var(--primary) !important;
}

.login-small {
	background: var(--primary);
    color: white;
    padding: 4px 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.89rem;
    font-weight: 500;
    transition: var(--transition);
	text-decoration: none !important;
}

/* Password Requirements */
.password-requirements {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.password-requirements h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.password-requirements ul {
    list-style: none;
}

.password-requirements li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    transition: var(--transition);
}

.password-requirements li::before {
    content: "×";
    position: absolute;
    left: 0;
    color: #dc3545;
}

.password-requirements li.valid {
    color: #28a745;
}

.password-requirements li.valid::before {
    content: "✓";
}

/* Messages */
.success,
.error,
.info-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.info-message {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

/* Links */
.forgot-password,
.back-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.forgot-password:hover,
.back-link:hover {
    color: var(--primary-dark);
}

.forgot-password,
.back-link {
	display: inline-block;
	margin-left: 10px;
}

.login-small {
	
}

/* Welcome Box */
.welcome {
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.welcome h1 {
    color: var(--primary);
    line-height: 112.5%;
	font-size: 1.5rem;
}

.h1_spacer {
	display: block;
	height: 12px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1.5rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e1e1e1;
}

th {
    background: #f5f5f5;
    font-weight: 600;
    color: var(--text-dark);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background: #f8f9fa;
}

.navbar a {
        width: auto;
        text-align: center;
        margin-bottom: 0.5rem;
		white-space: nowrap !important;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 11px;
		text-align: left;
}

    

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .navbar a {
        width: auto;
        text-align: center;
        margin-bottom: 0.5rem;
		white-space: nowrap !important;
    }

    .form-container,
    .content,
    .login-form {
        padding: 1.5rem;
    }
    
    button,
    .button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
	
}

@media (max-width: 768px) {
    /* Stellen sicher, dass das X nur einmal angezeigt wird */
    #close-menu {
        position: relative;
        z-index: 1000;
    }
    
    /* Falls es irgendwo ein duplikatives X gibt */
    .close-menu:not(#close-menu) {
        display: none !important;
    }
}


/* DASHBOARD */
.dashboard-section {
            margin-bottom: 20px;
			padding: 8px;
            background: #ffffff;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .osb-meetings {
            margin: 20px 0;
        }
        .osb-meetings table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        .osb-meetings th {
            background: #f8f9fa;
            padding: 12px;
            text-align: left;
            font-weight: bold;
            border-bottom: 2px solid #dee2e6;
        }
        .osb-meetings td {
            padding: 12px;
            border-bottom: 1px solid #dee2e6;
        }
        .osb-meetings tr:hover {
            background: #f8f9fa;
        }
        .osb-meetings a {
            color: #2D8CFF;
            text-decoration: none;
            padding: 6px 12px;
            border-radius: 4px;
            background: #f8f9fa;
            display: inline-block;
            transition: all 0.3s ease;
        }
        .osb-meetings a:hover {
            background: #e9ecef;
            transform: translateY(-1px);
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .section-title {
            margin: 0 0 20px 0;
            padding-bottom: 10px;
            border-bottom: 1px dashed  var(--primary);
            color: var(--primary);
            font-size: 1.2rem;
		}
        .dashboard-content {
            max-width: 1200px;
            margin: 0 auto;
        }
        .empty-message {
            padding: 20px;
            text-align: center;
            color: #666;
            font-style: italic;
        }

/* CSS für das Passwort-Augen-Icon - Standard-Logik */
.form-group {
    position: relative;
}

/* Passwort-Toggle-Icon - INITIAL GESCHLOSSENES AUGE */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(10%) !important;
    cursor: pointer;
    width: 27px;
    height: 27px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 10;
    /* Geschlossenes/durchgestrichenes Auge als Standardzustand */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%23C5073D' d='M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z'%3E%3C/path%3E%3C/svg%3E");
}

/* Wenn das Passwort sichtbar ist */
.password-toggle.visible {
    /* Geöffnetes Auge */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%23C5073D' d='M12 9a3 3 0 100 6 3 3 0 000-6zm0-4.5c5 0 9.27 3.11 11 7.5-1.73 4.39-6 7.5-11 7.5s-9.27-3.11-11-7.5c1.73-4.39 6-7.5 11-7.5z'%3E%3C/path%3E%3C/svg%3E");
}

/* Zusätzliches Padding für Passwort-Felder */
input[type="password"],
input[type="text"].password-field {
    padding-right: 40px;
}

/* Spezifische Anpassung für dein Login-Formular */
input[type="password"] + .password-toggle {
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
}

/* Selektoren für verschiedene Formularstrukturen */
#password + .password-toggle,
.form-group input[type="password"] ~ .password-toggle {
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
}

/* Für Mobilgeräte */
@media (max-width: 768px) {
    .password-toggle {
        right: 12px;
    }
    
    input[type="password"] {
        padding-right: 35px;
    }
}

/* Scroll-on-Top-Button */
 #scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: rgba(92, 18, 51, 0.89);
  color: white;
  border: none;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, opacity 0.3s;
  padding: 0; /* Wichtig: Entfernt unnötiges Padding */
}

#scrollToTopBtn svg {
  width: 24px;
  height: 24px;
  display: block; /* Wichtig: Stellt sicher, dass das SVG richtig angezeigt wird */
  stroke: white; /* Macht den Pfeil weiß */
}
    
    #scrollToTopBtn svg {
      width: 20px;
      height: 20px;
    }
  }

.download_link {
	color: #fff;
	background-color: #F6AB4D;
	width: 100%;
	padding: 10px 20px;
	text-align: center;
	box-sizing: border-box;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.76 ease-in-out;
}

.download_link:hover {
	color: #EE8360;
}