/* ============================================================
   Trophy 3D Viewer – Styles
   my-trophy.de
   ============================================================ */

.trophy-3d-container {
    width: 100%;
    margin: 0 0 24px 0;
    font-family: inherit;
}

/* model-viewer Element */
#trophy-model-viewer {
    width: 100%;
    height: 420px;
    background: linear-gradient(160deg, #f5f5f0 0%, #ebebeb 100%);
    border-radius: 10px;
    display: block;
    --poster-color: transparent;
}

@media (max-width: 600px) {
    #trophy-model-viewer {
        height: 300px;
    }
}

/* AR-Button (slot="ar-button") */
.trophy-ar-button {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    transition: background 0.15s, transform 0.1s;
}
.trophy-ar-button:hover {
    background: #333;
    transform: translateY(-1px);
}
.trophy-ar-button:active {
    transform: translateY(0);
}

/* Fortschrittsbalken (slot="progress-bar") */
.trophy-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0,0,0,0.08);
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    transition: opacity 0.3s;
}
.trophy-progress-bar-inner {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #b8860b, #ffd700);
    transition: width 0.2s ease;
}

/* Hinweistext */
.trophy-3d-hint {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin: 8px 0 0 0;
    line-height: 1.5;
}

/* AR-Hinweis nur auf Mobilgeräten anzeigen */
.trophy-ar-hint {
    display: none;
}
@media (max-width: 768px) {
    .trophy-ar-hint {
        display: inline;
    }
}

/* Admin-Felder – leichte Hervorhebung */
.trophy-3d-admin-fields input[type="url"]:focus {
    border-color: #b8860b;
    box-shadow: 0 0 0 1px #b8860b;
    outline: none;
}
