/* styles.css */

/* --- Allgemeine Stile --- */
body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f4f4f4; color: #333; }
header { background-color: #333; color: #fff; padding: 1em 0; text-align: center; }
nav { display: flex; justify-content: center; background-color: #555; padding: 0.5em 0; }
nav a { text-decoration: none; }
nav button { 
    background-color: #777; 
    color: #fff; 
    border: none; 
    padding: 0.8em 1.5em; 
    margin: 0 0.5em; 
    cursor: pointer; 
    font-size: 1em; 
    border-radius: 5px; 
    transition: background-color 0.3s ease;
}
nav button:hover { background-color: #999; }
.container { max-width: 900px; margin: 2em auto; padding: 1em; background-color: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); border-radius: 8px; }

/* --- Inhalts-Stile --- */
.blog-post { border-bottom: 1px solid #eee; padding-bottom: 1.5em; margin-bottom: 1.5em; }
.blog-post h2 { color: #0056b3; margin-top: 0; }
.blog-post p { line-height: 1.6; }
#live-clock { text-align: center; font-size: 2.5em; font-weight: bold; color: #333; padding: 10px; margin-bottom: 20px; background-color: #e9ecef; border-radius: 8px; box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); }

/* --- Dashboard- und Formular-Stile --- */
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.bookmark-card { background-color: #f9f9f9; border: 1px solid #ddd; border-radius: 8px; padding: 1em; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); transition: transform 0.2s ease; position: relative; }
.bookmark-card:hover { transform: translateY(-5px); }
.bookmark-card h3 { margin-top: 0; color: #28a745; }
.bookmark-card a { display: inline-block; margin-top: 0.8em; color: #007bff; text-decoration: none; font-weight: bold; }
.remove-btn { position: absolute; top: 5px; right: 5px; background: none; border: none; color: #dc3545; cursor: pointer; font-size: 1.2em; line-height: 1; }
#add-bookmark-content { padding: 20px; background-color: #f8f9fa; border: 1px solid #dee2e6; border-radius: 8px; margin-bottom: 20px; display: none; }
#add-bookmark-form { display: flex; flex-wrap: wrap; gap: 10px; }
#add-bookmark-form input { padding: 10px; border: 1px solid #ced4da; border-radius: 5px; font-size: 1em; box-sizing: border-box; }
#add-bookmark-form button { flex-grow: 1; padding: 10px 20px; background-color: #007bff; color: white; border: none; cursor: pointer; border-radius: 5px; transition: background-color 0.3s ease; }

/* --- Interner Bereich / Schutz --- */
.protected-content { opacity: 0; pointer-events: none; transition: opacity 0.5s; }
.protected-content.unlocked { opacity: 1; pointer-events: auto; }
.lock-message { text-align: center; padding: 50px; border: 2px dashed #dc3545; border-radius: 8px; margin-bottom: 20px; color: #dc3545; font-weight: bold; }
#add-bookmark-toggle { display: block; width: 100%; padding: 10px 15px; background-color: #28a745; color: white; border: none; border-radius: 5px; margin-top: 20px; margin-bottom: 15px; cursor: pointer; font-size: 1.1em; transition: background-color 0.3s ease; }
#add-bookmark-toggle:hover { background-color: #1e7e34; }

/* --- Changelog spezifische Stile (Blog-Format) --- */
.changelog-post {
    border-left: 5px solid #007bff; 
    padding: 1.5em;
    margin-bottom: 2em;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.changelog-post h3 {
    color: #333;
    margin-top: 0;
    font-size: 1.5em;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 0.2em;
}
.changelog-post .meta-data {
    color: #007bff;
    font-weight: bold;
    display: block;
    margin-bottom: 1em;
    font-style: italic;
}
.changelog-post ul {
    list-style-type: disc;
    padding-left: 1.5em;
}

/* --- Footer --- */
footer { text-align: center; padding: 1em 0; margin-top: 2em; background-color: #333; color: #fff; font-size: 0.8em; }
