/* About Me Edit */
body {
    margin: 0;
    min-height: 100vh;
    background: #f4f4f4;
    font-family: Arial, sans-serif;
    color: #444;
}

/* Header */
.header {
    background: #FFE4E1;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header img.logo {
    height: 40px;
}

.header .title {
    font-size: 22px;
    font-weight: bold;
    color: #f9cbcc;
}

/* Navigation */
.menu {
    background: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    border-bottom: 1px solid #eee;
}

.menu .menu-item {
    position: relative;
    text-decoration: none;
    color: #f9cbcc;
    font-weight: 500;
    padding: 6px 10px;
    transition: color 0.2s ease;
}

.menu .menu-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #FFE4E1;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.menu .menu-item:hover::after,
.menu .menu-item.active::after {
    transform: translateX(-50%) scaleX(1);
}

.menu .menu-item:hover {
    color: #f9cbcc;
}

/* Zentrierter Editor */
.editor-container {
    min-height: calc(100vh - 120px); /* Header + Menu */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
}

.edit-wrapper {
    width: 90%;
    max-width: 700px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.edit-wrapper h2 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.edit-wrapper label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
}

.edit-wrapper textarea {
    width: 95%;
    min-height: 150px;
    resize: vertical;
    padding: 10px;
    font-family: inherit;
    font-size: 20px;
}

.edit-wrapper input[type="file"] {
    margin-top: 8px;
}

.edit-wrapper button {
    margin-top: 20px;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    background: #FFE4E1;
    cursor: pointer;
    font-weight: bold;
}

.edit-wrapper button:hover {
    background: #ffd6d6;
}

.current-about-img {
    display: block;
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    margin: 10px 0 20px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fafafa;
}
