

/* --------------------------- Profile-Panel --------------------------- */
.profile-content {
    width: 70%;
    max-width: 1000px;
    margin: 28px auto;
	margin-left: auto;
	margin-right: auto;
    padding: 40px;
    color: #f5f5f5;
    background: #1f1f1f;
    border-radius: 15px;
    border: 1px solid #a60000;
    box-shadow: 0 0 25px rgba(139, 25, 25, 0.6);
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}




/* Einfaches Profil-Layout */
.profile-wrapper {
    width: 95%;
    max-width: 920px;
    margin: 28px auto;
    box-sizing: border-box;
}
.profile-card {
    background: linear-gradient(180deg,#1f1b1d 0%, #221f21 100%);
    border-radius: 12px;
    padding: 18px;
    color: #e6e6e6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.profile-header {
    display:flex;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 12px;
}
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    background: #111;
    border: 1px solid rgba(255,255,255,0.04);
}
.profile-main { flex: 1; }
.profile-username {
    margin: 0 0 6px 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}
.profile-meta { font-size: 13px; color: #cfcfcf; display:flex; gap:12px; margin-bottom:8px; }
.profile-actions { margin-top:6px; }
.profile-btn {
    display:inline-block;
    padding:10px 14px;
    border-radius:8px;
    background: linear-gradient(90deg,#444 0%, #333 100%);
    color:#fff;
    text-decoration:none;
    font-weight:600;
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}
.profile-btn.primary {
    background: linear-gradient(90deg,#e52f37,#c0232b);
}
.profile-body { padding-top: 14px; }
.profile-bio { color:#dcdcdc; font-size:15px; line-height:1.5; margin-bottom:12px; }
.profile-empty { color:#9a9a9a; }
.profile-links { display:flex; gap:12px; margin-top:8px; }
.profile-link {
    color:#cfcfcf;
    background: rgba(255,255,255,0.04);
    padding:8px 10px;
    border-radius:8px;
    text-decoration:none;
    font-size:14px;
}
@media (max-width:720px) {
    .profile-header { flex-direction:column; align-items:flex-start; gap:10px; }
    .profile-avatar { width: 96px; height: 96px; }
}


/* --------------------------- Profile-Edit --------------------------- */
/* assets/css/edit_profile.css - Styling für Profil bearbeiten */
.profile-edit-wrapper {
    width: 95%;
    max-width: 980px;
    margin: 28px auto;
    box-sizing: border-box;
}
.profile-edit-card {
    background: linear-gradient(180deg,#1f1b1d 0%, #221f21 100%);
    border-radius: 12px;
    padding: 18px;
    color: #e6e6e6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.profile-edit-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #fff;
}
.form-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}
.form-row .label {
    width: 180px;
    font-size: 14px;
    color: #cfcfcf;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="date"],
.form-row input[type="password"],
.form-row textarea {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.25);
    color: #fff;
    box-sizing: border-box;
}
.form-row textarea { resize: vertical; min-height: 100px; }
.profile-save-btn {
    background: linear-gradient(90deg,#e52f37,#c0232b);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    border: 0;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0,0,0,0.45);
}
.profile-cancel-btn {
    display: inline-block;
    margin-left: 12px;
    padding: 9px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    color: #fff;
    text-decoration: none;
}
.auth-alert { margin-bottom: 12px; padding: 10px; border-radius: 8px; }
.auth-alert.auth-success { background: rgba(46, 204, 113, 0.08); color: #b7f0c9; border: 1px solid rgba(46,204,113,0.06); }
.auth-alert.auth-danger { background: rgba(229, 46, 77, 0.06); color: #ffb6bb; border: 1px solid rgba(229,46,77,0.06); }
@media (max-width:720px) {
    .form-row { flex-direction: column; align-items: stretch; }
    .form-row .label { width: auto; }
    .profile-cancel-btn { margin-left: 0; display: inline-block; margin-top: 8px; }
}
.profile-edit-card .form-row select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
flex: 1;
  display: block;
  width: 100%;
  padding: 10px 44px 10px 12px; /* rechts Platz für das Pfeil-Icon */
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background-color: rgba(0,0,0,0.25);
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
  cursor: pointer;
  transition: border-color .12s ease, box-shadow .12s ease, transform .06s ease;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204%205'%3E%3Cpath%20fill='%23ffffff'%20d='M2%204L0%200h4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 10px;
}

/* Focus / Hover */
.profile-edit-card .form-row select:focus,
.profile-edit-card .form-row select:hover {
  outline: none;
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  transform: translateY(-1px);
}

/* Option Styling (nicht in allen Browsern sichtbar, aber hilfreich) */
.profile-edit-card .form-row select option {
  background: #1f1b1d;
  color: #e6e6e6;
  padding: 6px 8px;
}

/* Kleinere Bildschirme: Select füllt die Breite */
@media (max-width: 720px) {
  .profile-edit-card .form-row select {
    max-width: 100%;
  }
}
