/* Neowake KI-Such-Widget Stile */

#neowake-empfehlung-widget-container {
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #f5f5f5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

#neowake-empfehlung-widget-container h2 {
    font-size: 24px;
    color: #f5f5f5;
    margin-top: 0;
    margin-bottom: 8px;
    font-family: 'Futura PT Medium';
}

#neowake-empfehlung-widget-container .ne-widget-header p {
    color: #f5f5f5;
}

#neowake-empfehlung-widget-container p {
    font-size: 16px;
    color: #f5f5f5;
    margin-bottom: 20px;
}

.ne-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

#ne-user-query {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

#ne-user-query:focus {
    outline: none;
    border-color: #f3984a;
}

#ne-submit-query {
    padding: 10px 20px;
    background-image: linear-gradient(472deg, #eb6541 27%, #f3984a 56%);
    color: #f5f5f5;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: background-image 0.3s;
    font-family: "Futura PT Bold", Sans-serif !important;
}

#ne-submit-query:disabled {
    background-image: linear-gradient(472deg, #a0a5aa 27%, #a0a5aa 56%);
    cursor: not-allowed;
}

/* ===== SKELETON LOADING STYLES ===== */
.ne-skeleton-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.ne-skeleton-item {
    display: flex;
    gap: 20px;
    padding: 15px;
    background-color: #000;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.ne-skeleton-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    flex-shrink: 0;
}

.ne-skeleton-img {
    width: 120px;
    height: 120px;
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    display: block;
    object-fit: cover;
}

.ne-skeleton-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ne-skeleton-title-shimmer {
    height: 24px;
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    width: 70%;
    margin-bottom: 12px;
}

/* Real title - hidden during skeleton */
.ne-real-title {
    margin-bottom: 12px;
}

.ne-skeleton-meta {
    display: flex;
    gap: 15px;
}

.ne-skeleton-meta-item {
    height: 16px;
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    width: 80px;
}

.ne-skeleton-text {
    height: 16px;
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 8px;
}

.ne-skeleton-text:last-child {
    width: 85%;
    margin-bottom: 0;
}

@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ===== PROGRESS BAR STYLES ===== */
.ne-progress-container-search {
    margin: 20px 0;
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    height: 8px;
    position: relative;
}

.ne-progress-bar-search {
    height: 100%;
    background: linear-gradient(90deg, #eb6541, #f3984a);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    animation: progress-glow 2s infinite;
}

@keyframes progress-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(243, 152, 74, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(243, 152, 74, 0.8);
    }
}

/* ===== WAVE ANIMATION STYLES ===== */
.ne-wave-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    height: 60px;
}

.ne-wave {
    width: 4px;
    height: 30px;
    background: linear-gradient(to bottom, #eb6541, #f3984a);
    margin: 0 2px;
    border-radius: 2px;
    animation: wave-animation 1.2s infinite ease-in-out;
}

.ne-wave:nth-child(1) { animation-delay: -1.2s; }
.ne-wave:nth-child(2) { animation-delay: -1.1s; }
.ne-wave:nth-child(3) { animation-delay: -1.0s; }
.ne-wave:nth-child(4) { animation-delay: -0.9s; }
.ne-wave:nth-child(5) { animation-delay: -0.8s; }
.ne-wave:nth-child(6) { animation-delay: -0.7s; }
.ne-wave:nth-child(7) { animation-delay: -0.6s; }
.ne-wave:nth-child(8) { animation-delay: -0.5s; }
.ne-wave:nth-child(9) { animation-delay: -0.4s; }
.ne-wave:nth-child(10) { animation-delay: -0.3s; }

@keyframes wave-animation {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        opacity: 0.5;
    }
    20% {
        transform: scaleY(1.0);
        opacity: 1;
    }
}

.ne-loading-text {
    text-align: center;
    color: #f5f5f5;
    font-size: 16px;
    margin-top: 15px;
    font-family: 'Futura PT Medium';
}

.ne-loading-progress-text {
    text-align: center;
    color: #f3984a;
    font-size: 14px;
    margin-top: 10px;
    font-weight: bold;
}

/* ===== ENHANCED LOADING SPINNER ===== */
#ne-loading-spinner {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(243, 152, 74, 0.1);
}

#ne-loading-spinner p {
    font-size: 16px;
    color: #f5f5f5;
    margin-top: 15px;
    font-family: 'Futura PT Medium';
}

.ne-loader {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.ne-loader-dot {
    width: 12px;
    height: 12px;
    background-color: #f3984a;
    border-radius: 50%;
    animation: ne-dot-bounce 1.4s infinite ease-in-out both;
}

.ne-loader-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.ne-loader-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes ne-dot-bounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1.0);
  }
}

/* ===== TRANSITION EFFECTS ===== */
.ne-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.ne-fade-out {
    animation: fadeOut 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

/* Smooth transition from skeleton to real content */
.ne-transitioning {
    transition: all 0.3s ease-in-out;
}

.ne-transitioning .ne-skeleton-text {
    animation: none;
    background: transparent;
    transition: opacity 0.3s ease-out;
}

.ne-transitioning .ne-skeleton-img {
    animation: none;
    transition: all 0.3s ease-in-out;
}

.ne-transitioning .ne-skeleton-title-shimmer,
.ne-transitioning .ne-skeleton-meta-item {
    animation: none;
    background: transparent;
    transition: all 0.3s ease-in-out;
}

#ne-results-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ne-result-item {
    display: flex;
    gap: 20px;
    padding: 15px;
    background-color: #000;
    border-radius: 6px;
    transition: box-shadow 0.3s;
}

.ne-result-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.ne-result-image-link {
    flex-shrink: 0;
}

.ne-result-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px !important;
    display: block;
}

.ne-result-content {
    flex-grow: 1;
}

.ne-result-content h3 {
    background: linear-gradient(90deg, #EB6541 27%, #F3984A 56%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'GILROY BOLT';
    width: fit-content;
    line-height: 1.5;
}

.ne-result-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    color: #f5f5f5;
    font-size: 14px;
}

.ne-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ne-meta-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    color: #f5f5f5;
}

.ne-meta-answer {
    color: #f5f5f5;
}

.ne-result-reason {
    font-size: 15px;
    color: #f5f5f5;
    line-height: 1.6;
    margin: 0;
}

/* Stile für zusätzliche Sessions */
.ne-additional-title {
    font-family: 'Futura PT Medium';
    font-size: 20px;
    color: #f5f5f5;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-top: 25px;
    border-top: 1px solid #e3e3e3;
}

.ne-main-title {
    font-family: 'Futura PT Medium';
    font-size: 20px;
    color: #f5f5f5;
    margin-bottom: 0px;
}

#ne-additional-results-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Responsive Stile */
@media (max-width: 600px) {
    #neowake-empfehlung-widget-container {
        padding: 15px;
    }

    #neowake-empfehlung-widget-container h2 {
        font-size: 20px;
    }

    .ne-search-form {
        flex-direction: column;
    }

    .ne-result-item, .ne-skeleton-item {
        flex-direction: column;
        gap: 15px;
    }

    .ne-result-item img, .ne-skeleton-image {
        width: 100%;
        height: 180px;
    }

    .ne-result-content {
        padding: 0;
    }
    
    #ne-user-query {
        font-size: 14px;
    }

    .ne-skeleton-title {
        width: 85%;
    }

    .ne-wave {
        width: 3px;
        height: 25px;
        margin: 0 1px;
    }
} 