* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #000000;
    color: #e7e9ea;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* Layout Container */
.layout {
    display: flex;
    width: 100%;
    max-width: 1200px;
}

/* Linke Navigation */
.sidebar-left {
    width: 250px;
    padding: 20px 10px;
    border-right: 1px solid #2f3336;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar-left h1 {
    font-size: 24px;
    padding-left: 15px;
    margin-bottom: 10px;
}

.sidebar-left nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #e7e9ea;
    text-decoration: none;
    font-size: 18px;
    padding: 12px 15px;
    border-radius: 30px;
    transition: background-color 0.2s;
}

.sidebar-left nav a:hover {
    background-color: #181818;
}

/* Haupt-Feed */
.feed {
    flex: 1;
    max-width: 600px;
    border-left: 1px solid #2f3336;
    border-right: 1px solid #2f3336;
    min-height: 100vh;
}

.header {
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #2f3336;
    z-index: 10;
}

.header h2 {
    font-size: 20px;
    font-weight: 700;
}

a {
    color: #1d9bf0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Post Ersteller */
.post-box {
    padding: 15px;
    border-bottom: 1px solid #2f3336;
}

.post-box textarea {
    width: 100%;
    height: 90px;
    background-color: transparent;
    border: none;
    color: #e7e9ea;
    font-size: 18px;
    resize: none;
    outline: none;
}

.post-box button, .auth-container button, .btn-primary {
    background-color: #1d9bf0;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 9999px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
}

.post-box button:hover, .auth-container button:hover, .btn-primary:hover {
    background-color: #1a8cd8;
}

/* Posts List */
.post {
    padding: 15px;
    border-bottom: 1px solid #2f3336;
}

.post-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.post-header a {
    color: #e7e9ea;
    text-decoration: none;
}

.post-header small {
    color: #71767b;
}

.post-content {
    font-size: 15px;
    line-height: 1.5;
    word-break: break-word;
}

/* Rechte Sidebar */
.sidebar-right {
    width: 300px;
    padding: 15px;
    position: sticky;
    top: 0;
    height: 100vh;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    background-color: #202327;
    border: 1px solid transparent;
    border-radius: 25px;
    color: #e7e9ea;
    outline: none;
}

.search-box input:focus {
    border-color: #1d9bf0;
    background-color: #000000;
}

/* Authentifizierung Formulare */
.auth-container {
    width: 100%;
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    border: 1px solid #2f3336;
    border-radius: 16px;
    background-color: #000000;
}

.auth-container h2 {
    margin-bottom: 20px;
}

.auth-container div {
    margin-bottom: 15px;
}

.auth-container label {
    display: block;
    margin-bottom: 5px;
    color: #71767b;
    font-size: 14px;
}

.auth-container input {
    width: 100%;
    padding: 12px;
    background-color: #000000;
    border: 1px solid #333639;
    border-radius: 4px;
    color: #e7e9ea;
    font-size: 16px;
}

.auth-container input:focus {
    border-color: #1d9bf0;
    outline: none;
}

.auth-container button {
    float: none;
    width: 100%;
    margin-top: 10px;
}

.alert {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert-danger {
    background-color: rgba(244, 33, 46, 0.1);
    color: #f4212e;
    border: 1px solid #f4212e;
}

.alert-success {
    background-color: rgba(0, 186, 124, 0.1);
    color: #00ba7c;
    border: 1px solid #00ba7c;
}