/* ============================================================
   RADIOLPUNA 3D HOLOGRAMM PROFIL SYSTEM
   Gilt für: profile_box.php + profile_view.php + profile_edit.php
============================================================ */
/* =========================
   UNIVERSAL HOLO PANEL
========================= */
.profile-box-compact,
.profile-card,
.guest-box {
    position: relative;
    padding: 1.5rem;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
    transform: perspective(900px) rotateX(6deg);
    animation: holoFloatProfile 6s ease-in-out infinite;
    box-shadow:
        0 0 35px rgba(0, 200, 255, 0.4),
        inset 0 0 25px rgba(150, 0, 255, 0.35);
    text-align: center;
}
@keyframes holoFloatProfile {
    0%, 100% { transform: perspective(900px) rotateX(6deg) translateY(0); }
    50% { transform: perspective(900px) rotateX(4deg) translateY(-6px); }
}

/* =========================
   Scanlines
========================= */
.profile-box-compact::before,
.profile-card::before,
.guest-box::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 2px,
        transparent 3px,
        transparent 6px
    );
    animation: scanMoveProfile 5s linear infinite;
}
@keyframes scanMoveProfile {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* =========================
   Glow Layer
========================= */
.profile-box-compact::after,
.profile-card::after,
.guest-box::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 50%, rgba(255,0,255,0.35), transparent 70%);
    filter: blur(35px);
    animation: holoGlowProfile 7s ease-in-out infinite;
}
@keyframes holoGlowProfile {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 0.8; transform: translateX(40px); }
}

/* =========================
   Avatar
========================= */
.avatar-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0,200,255,0.8);
    box-shadow:
        0 0 12px rgba(0,200,255,0.7),
        inset 0 0 12px rgba(150,0,255,0.4);
    transition: 0.3s ease;
}
.avatar-img:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 18px rgba(0,200,255,1),
        inset 0 0 18px rgba(150,0,255,0.6);
}

/* =========================
   Username
========================= */
.username,
.profile-card h2 {
    font-size: 1.4rem;
    font-weight: bold;
    color: rgba(255,255,255,0.95);
    margin-top: 0.8rem;
    text-shadow: 0 0 8px rgba(0,200,255,0.6);
}

/* =========================
   Text & Labels
========================= */
.profile-card p,
.profile-box-compact p,
.guest-box p {
    color: rgba(255,255,255,0.85);
    margin: 0.5rem 0;
}
.profile-card label {
    display: block;
    margin-top: 0.8rem;
    font-weight: bold;
    color: rgba(0,200,255,0.9);
    text-shadow: 0 0 6px rgba(0,200,255,0.6);
    text-align: left;
}

/* =========================
   Inputs
========================= */
.profile-card input[type="text"],
.profile-card input[type="email"],
.profile-card input[type="date"],
.profile-card input[type="file"] {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.3rem;
    border-radius: 12px;
    border: none;
    background: rgba(15, 0, 25, 0.55);
    color: rgba(255,255,255,0.9);
    box-shadow:
        inset 0 0 12px rgba(150,0,255,0.25),
        0 0 10px rgba(0,200,255,0.35);
    transition: 0.2s ease;
}
.profile-card input:focus {
    outline: none;
    box-shadow:
        inset 0 0 18px rgba(150,0,255,0.35),
        0 0 15px rgba(0,200,255,0.55);
}

/* =========================
   Buttons
========================= */
.profile-card button,
.profile-actions a,
.guest-actions a {
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: rgba(15, 0, 25, 0.55);
    color: rgba(0,200,255,0.9);
    font-weight: bold;
    text-decoration: none;
    box-shadow:
        inset 0 0 12px rgba(150,0,255,0.25),
        0 0 10px rgba(0,200,255,0.35);
    transition: 0.2s ease;
}
.profile-card button:hover,
.profile-actions a:hover,
.guest-actions a:hover {
    background: rgba(25, 0, 45, 0.65);
    color: #ff00e1;
    box-shadow:
        inset 0 0 18px rgba(150,0,255,0.35),
        0 0 15px rgba(0,200,255,0.55);
}

/* Delete button */
.profile-card button[style*="background:red"] {
    background: rgba(255,0,80,0.7);
    box-shadow: 0 0 12px rgba(255,0,80,0.9);
}
.profile-card button[style*="background:red"]:hover {
    background: rgba(255,0,80,1);
}

/* =========================
   Links
========================= */
.profile-links a {
    display: block;
    margin: 0.3rem 0;
    font-weight: bold;
    text-decoration: none;
    color: rgba(0,200,255,0.9);
    text-shadow: 0 0 6px rgba(0,200,255,0.6);
    transition: 0.2s ease;
}
.profile-links a:hover {
    color: #ff00e1;
    text-shadow: 0 0 12px #ff00e1;
}

/* Admin link */
.admin-link {
    color: #ff00e1 !important;
    text-shadow: 0 0 10px #ff00e1 !important;
}

/* =========================
   Statusmeldungen
========================= */
.success {
    color: #00ffae;
    text-shadow: 0 0 8px #00ffae;
}
.error {
    color: #ff4d4d;
    text-shadow: 0 0 8px #ff4d4d;
}

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