/* ============================
   Profil Box + Profil Seiten
============================ */
.profile-card {
    max-width: 400px;
    margin: 2rem auto;
    text-align: center;
    background: rgba(20,20,20,0.75);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.profile-card .avatar-section {
    margin-bottom: 1rem;
}

.profile-card .avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.profile-card p {
    color: #fff;
    margin: 0.5rem 0;
}

.profile-card label {
    display: block;
    margin-top: 0.8rem;
    font-weight: bold;
    color: #fff;
    text-align: left;
}

.profile-card input[type="text"],
.profile-card input[type="email"],
.profile-card input[type="date"],
.profile-card input[type="file"] {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.3rem;
    border-radius: 8px;
    border: none;
}

.profile-card button {
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: rgba(173,0,255,0.85);
    color: #fff;
    font-weight: bold;
    transition: 0.2s;
}

.profile-card button:hover {
    background: rgba(193,0,255,0.9);
}

.profile-card .success {
    color: #4CAF50;
}

.profile-card .error {
    color: #FF4D4D;
}

/* Profil Box für Dashboard Sidebar */
.profile-box {
    text-align: center;
    background: rgba(20,20,20,0.75);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.profile-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.profile-box a {
    display: block;
    margin: 0.3rem 0;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.profile-box a:hover {
    color: #ad00ff;
}

.profile-links .admin-link {
    color: #ff4dff;
    font-weight: 600;
}

.profile-links .admin-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-card, .profile-box {
        max-width: 90%;
        margin: 1rem auto;
    }
    .profile-card input, .profile-card button {
        width: 95%;
    }
}

/* Aktionen im Profil */
.profile-actions {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-actions a {
    padding: 0.45rem 1rem;
    border-radius: 10px;
    background: rgba(0, 140, 255, 0.85);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s ease;
}

.profile-actions a:hover {
    background: rgba(0, 160, 255, 1);
    transform: translateY(-2px);
}

/* Logout extra Farbe */
.profile-actions a:last-child {
    background: rgba(255, 80, 80, 0.85);
}

.profile-actions a:last-child:hover {
    background: rgba(255, 80, 80, 1);
}
