/* ========================
   GLOBAL STYLES
======================== */
html {
  overflow-y: scroll; /* Scrollbar immer anzeigen */
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #4a4a4a;
    background-color: #ffffff;
	line-height: 1.2 !important; /* überschreibt Bootstrap global */
    display: flex;
    flex-direction: column;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}


/* ========================
   MAIN
======================== */

main {
    flex: 1;             /* füllt den verfügbaren Platz */
    padding: 20px;       /* wie gehabt */
    box-sizing: border-box;
    /* entferne oder kommentiere overflow-y: auto; */
    /* overflow-y: auto; */
    position: relative;  /* optional, falls du es brauchst */
}

/* IMAGE MODULE */
.image-module-wrapper {
    text-align: center;
}

/* BLOG CONTAINER */
.blog-container {
    max-width: 1300px;
    margin: 0 auto 50px auto;
    padding: 20px;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 5px;
}

/* ========================
   FOOTER
======================== */

.footer-center {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-cell {
    flex: 1;
}

.footer-icons {
    display: flex;
    gap: 15px;
}

/* Footer Links */
.footer-icon {
    color: #f8f8f8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-icon:hover {
    color: #4a4a4a;
}

/* ========================
   BUTTONS
======================== */
button, .btn {
    font-family: inherit;
    font-size: inherit;
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover, .btn:hover {
    opacity: 0.8;
}

.login-error-messages {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid red;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.95em;
    color: #a00;
    margin-bottom: 15px;

    /* NEU: Zentrierung */
    text-align: center;          /* Text mittig */
    width: 90%;                  /* Breite innerhalb des Popups */
    margin-left: auto;            /* Horizontal zentrieren */
    margin-right: auto;           /* Horizontal zentrieren */
}
