/* MeetingMind AI - Custom Styles */

/* Orb animations */
.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
}

/* Recording ripple effect */
.recording-ripple {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.5);
    pointer-events: none;
}

/* Transition overlay */
.transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transition-circle {
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

/* Slide up animation */
.animate-slide-up {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade in animation */
.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Custom scrollbar for transcription area */
#transcriptionArea::-webkit-scrollbar {
    width: 6px;
}

#transcriptionArea::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

#transcriptionArea::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

#transcriptionArea::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Blazor error UI styling */
#blazor-error-ui {
    background: #fee2e2;
    border-top: 1px solid #fca5a5;
    padding: 0.75rem 1rem;
    display: none;
}

#blazor-error-ui.show {
    display: block;
}

/* Canvas visualization container */
#visualizerContainer canvas {
    display: block;
}

/* Topic and conclusion item animations */
.topic-item,
.conclusion-item {
    animation: slideUp 0.4s ease-out;
}

/* Transcript line animation */
.transcript-line {
    animation: slideUp 0.3s ease-out;
}

/* Participant tag hover effects */
.participant-tag {
    transition: all 0.2s ease;
}

.participant-tag:hover {
    background-color: #e5e7eb;
}

/* Agenda item transition */
.agenda-item {
    transition: all 0.3s ease;
}

/* Language selector custom checkbox styling - disabled for dark theme */
/* Styles now handled inline in LanguageSelector.razor */

/* Focus styles */
input:focus,
select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Button hover states */
button {
    transition: all 0.2s ease;
}

/* Card hover effects */
.bg-white {
    transition: box-shadow 0.3s ease;
}

/* Progress bar transitions */
.rounded-full[style*="width"] {
    transition: width 0.7s ease;
}

/* SVG donut chart segment transitions */
svg circle[stroke-dasharray] {
    transition: stroke-dasharray 0.5s ease;
}

/* Blazor error boundary */
.blazor-error-boundary {
    background: #fee2e2;
    padding: 1rem;
    color: #991b1b;
    border-radius: 0.5rem;
    margin: 1rem;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

/* Resume content styling for dark theme */
.resume-content {
    color: #f3f4f6 !important;
}

.resume-content h2,
.resume-content h3,
.resume-content h4 {
    color: white !important;
    font-weight: 600;
}

.resume-content h2 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.resume-content h3 {
    font-size: 1.1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    color: #e9d5ff !important;
}

.resume-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: #f3f4f6 !important;
}

.resume-content ul,
.resume-content ol {
    color: #f3f4f6 !important;
    margin-bottom: 1rem;
}

.resume-content li {
    color: #f3f4f6 !important;
    margin-bottom: 0.5rem;
}

.resume-content strong,
.resume-content b {
    color: #c4b5fd !important;
    font-weight: 600;
}

.resume-content a {
    color: #a78bfa !important;
    text-decoration: underline;
}

.resume-content > div,
.resume-content > span {
    color: #f3f4f6 !important;
}

/* Override any inline styles in resume content */
.resume-content * {
    color: inherit !important;
}

.resume-content strong *,
.resume-content b * {
    color: #c4b5fd !important;
}

.resume-content h2 *,
.resume-content h3 *,
.resume-content h4 * {
    color: inherit !important;
}
