/* Custom CSS für Hautanalyse App */

:root {
    --primary-color: hsl(212 84% 56%); /* #3b82f6 */
    --primary-dark: hsl(212 84% 46%); /* #2563eb */
    --secondary-color: hsl(160 60% 45%); /* #059669 */
    --background: hsl(210 11% 98%); /* #F5F7FA */
    --surface: hsl(0 0% 100%); /* #ffffff */
    --text-primary: hsl(215 25% 27%); /* #374151 */
    --text-secondary: hsl(215 14% 49%); /* #6B7280 */
    --border-color: hsl(214 15% 91%); /* #E5E7EB */
    --success-color: hsl(142 71% 45%); /* #10B981 */
    --warning-color: hsl(45 93% 58%); /* #F59E0B */
    --error-color: hsl(0 84% 60%); /* #EF4444 */
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--text-primary));
    line-height: 1.6;
}

.main-content {
    min-height: calc(100vh - 200px);
}

/* Navigation */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
}

.navbar {
    border-bottom: 1px solid hsl(var(--border-color));
}

/* Cards */
.upload-card,
.result-card {
    background: hsl(var(--surface));
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid hsl(var(--border-color));
    margin-bottom: 1.5rem;
}

.feature-card {
    background: hsl(var(--surface));
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid hsl(var(--border-color));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
}

/* Upload Area */
.upload-area {
    border: 3px dashed hsl(var(--border-color));
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: hsl(214 15% 98%); /* #F9FAFB */
    cursor: pointer;
}

.upload-area:hover {
    border-color: hsl(var(--primary-color));
    background: hsl(212 100% 97%); /* #EFF6FF */
}

.upload-area.dragover {
    border-color: hsl(var(--primary-color));
    background: hsl(212 100% 97%); /* #EFF6FF */
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    color: hsl(var(--primary-color));
    margin-bottom: 1rem;
}

.upload-content h5 {
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
}

/* Preview Area */
.preview-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: hsl(var(--surface));
    border-radius: 8px;
    border: 1px solid hsl(var(--border-color));
}

.img-preview {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid hsl(var(--border-color));
}

.preview-info {
    flex-grow: 1;
}

.file-name {
    font-weight: 600;
    color: hsl(var(--text-primary));
}

.file-size {
    font-size: 0.875rem;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: hsl(var(--primary-color));
    border-color: hsl(var(--primary-color));
}

.btn-primary:hover {
    background-color: hsl(var(--primary-dark));
    border-color: hsl(var(--primary-dark));
    transform: translateY(-1px);
}

/* Keep button blue when disabled */
.btn-primary:disabled,
.btn-primary.disabled,
.btn-primary:disabled:hover,
.btn-primary.disabled:hover,
.btn-primary:disabled:focus,
.btn-primary.disabled:focus,
.btn-primary:disabled:active,
.btn-primary.disabled:active {
    background-color: hsl(var(--primary-color)) !important;
    border-color: hsl(var(--primary-color)) !important;
    color: white !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

/* Force all primary buttons to always be blue - maximum CSS specificity */
button#analyzeBtn.btn.btn-primary.btn-lg,
button#analyzeBtn.btn.btn-primary.btn-lg:enabled,
button#analyzeBtn.btn.btn-primary.btn-lg:disabled,
button#analyzeBtn.btn.btn-primary.btn-lg:hover,
button#analyzeBtn.btn.btn-primary.btn-lg:focus,
button#analyzeBtn.btn.btn-primary.btn-lg:active,
button#analyzeBtn.btn.btn-primary.btn-lg:focus:enabled,
button#analyzeBtn.btn.btn-primary.btn-lg:hover:enabled,
button#analyzeBtn.btn.btn-primary.btn-lg[disabled],
.btn.btn-primary,
.btn.btn-primary:enabled,
.btn.btn-primary:disabled,
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active,
.btn.btn-primary:focus:enabled,
.btn.btn-primary:hover:enabled,
.btn.btn-primary[disabled],
button[type="submit"].btn.btn-primary,
button[type="submit"].btn.btn-primary:enabled,
button[type="submit"].btn.btn-primary:disabled,
button[type="submit"].btn.btn-primary:hover,
button[type="submit"].btn.btn-primary:focus,
button[type="submit"].btn.btn-primary:active {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
    background-image: none !important;
    opacity: 1 !important;
    filter: none !important;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Analysis Content */
.analysis-content {
    font-size: 1rem;
    line-height: 1.7;
    color: hsl(var(--text-primary));
    white-space: pre-line;
}

.analysis-content h1,
.analysis-content h2,
.analysis-content h3,
.analysis-content h4,
.analysis-content h5,
.analysis-content h6 {
    color: hsl(var(--primary-color));
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.analysis-content p {
    margin-bottom: 1rem;
}

.analysis-content ul,
.analysis-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.analysis-content li {
    margin-bottom: 0.5rem;
}

/* Result Image */
.result-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Info Section */
.info-section {
    background: hsl(var(--surface));
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid hsl(var(--border-color));
}

.step-number {
    width: 50px;
    height: 50px;
    background: white;
    color: hsl(var(--primary-color));
    border: 2px solid hsl(var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin: 0 auto 1rem auto;
}

/* Disclaimer */
.disclaimer-section {
    background: hsl(45 100% 95%); /* #FEF3C7 */
    border: 1px solid hsl(45 93% 83%); /* #FDE68A */
    border-radius: 8px;
    padding: 1.5rem;
}

/* Loading State */
#loadingState {
    background: hsl(var(--surface));
    border-radius: 12px;
    padding: 3rem 2rem;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
}

.alert-danger {
    background-color: hsl(0 93% 94%); /* #FEE2E2 */
    color: hsl(0 84% 37%); /* #DC2626 */
}

.alert-warning {
    background-color: hsl(45 100% 95%); /* #FEF3C7 */
    color: hsl(45 92% 33%); /* #D97706 */
}

.alert-info {
    background-color: hsl(204 100% 94%); /* #DBEAFE */
    color: hsl(204 100% 34%); /* #1D4ED8 */
}

/* Responsive Design */
@media (max-width: 768px) {
    .upload-card,
    .result-card {
        padding: 1.5rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .upload-icon {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .preview-area {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    .container {
        max-width: 100% !important;
    }
    
    .result-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .analysis-content {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* Animation for file upload */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preview-area {
    animation: fadeIn 0.3s ease;
}

/* Focus states for accessibility */
.btn:focus,
.upload-area:focus-within {
    outline: 2px solid hsl(var(--primary-color));
    outline-offset: 2px;
}

input[type="file"]:focus {
    outline: none;
}

/* Social Media Button Styles */
.social-share-btn {
    transition: all 0.3s ease;
}

.social-share-btn[data-platform="facebook"] {
    background-color: #1877f2 !important;
    border-color: #1877f2 !important;
    color: white !important;
}

.social-share-btn[data-platform="facebook"]:hover {
    background-color: #166fe5 !important;
    border-color: #166fe5 !important;
    color: white !important;
}

.social-share-btn[data-platform="twitter"] {
    background-color: #1da1f2 !important;
    border-color: #1da1f2 !important;
    color: white !important;
}

.social-share-btn[data-platform="twitter"]:hover {
    background-color: #0d95e8 !important;
    border-color: #0d95e8 !important;
    color: white !important;
}

.social-share-btn[data-platform="whatsapp"] {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    color: white !important;
}

.social-share-btn[data-platform="whatsapp"]:hover {
    background-color: #128c7e !important;
    border-color: #128c7e !important;
    color: white !important;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 1050;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.cookie-description {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cookie-btn.btn-link {
    text-decoration: none;
    color: var(--text-muted);
    padding: 0.5rem 0.75rem;
}

.cookie-btn.btn-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Cookie Settings Modal */
.cookie-category {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
}

.cookie-details {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.form-switch .form-check-input {
    width: 2rem;
    height: 1rem;
}

.form-switch .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Skin Analysis Loading Animations */
.skin-analysis-animation {
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.face-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.animated-face {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.face-outline {
    animation: faceGlow 3s ease-in-out infinite;
}

@keyframes faceGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.3));
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.6));
    }
}

.eye {
    animation: eyeBlink 4s ease-in-out infinite;
}

.left-eye {
    animation-delay: 0s;
}

.right-eye {
    animation-delay: 0.1s;
}

@keyframes eyeBlink {
    0%, 90%, 100% { 
        transform: scaleY(1); 
    }
    95% { 
        transform: scaleY(0.1); 
    }
}

.scan-line {
    animation: scanAnimation 2s ease-in-out infinite;
}

.scan-1 { animation-delay: 0s; }
.scan-2 { animation-delay: 0.2s; }
.scan-3 { animation-delay: 0.4s; }
.scan-4 { animation-delay: 0.6s; }
.scan-5 { animation-delay: 0.8s; }

@keyframes scanAnimation {
    0%, 80%, 100% { 
        opacity: 0; 
        transform: scaleX(0.5);
    }
    10%, 70% { 
        opacity: 0.8; 
        transform: scaleX(1);
    }
}

.analysis-point {
    animation: pointPulse 1.5s ease-in-out infinite;
}

.point-1 { animation-delay: 1s; }
.point-2 { animation-delay: 1.3s; }
.point-3 { animation-delay: 1.6s; }
.point-4 { animation-delay: 1.9s; }
.point-5 { animation-delay: 2.2s; }

@keyframes pointPulse {
    0%, 70%, 100% { 
        opacity: 0; 
        transform: scale(1);
    }
    10%, 60% { 
        opacity: 1; 
        transform: scale(1.5);
    }
}

/* Analysis Steps */
.analysis-steps {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    min-width: 120px;
    opacity: 0.5;
}

.step-item.active {
    opacity: 1;
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    animation: stepActivate 0.6s ease-out;
}

.step-item.completed {
    opacity: 1;
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
}

@keyframes stepActivate {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.step-item.active .step-icon {
    animation: iconBounce 1.5s ease-in-out infinite;
}

.step-item.completed .step-icon {
    background: #10b981;
    animation: none;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.step-text {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-color);
}

/* Enhanced Progress Bar */
.skin-progress {
    background: linear-gradient(90deg, 
        #3b82f6 0%, 
        #10b981 50%, 
        #f59e0b 100%);
    transition: width 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.skin-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Fun Facts */
.fun-fact-container {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fun-fact {
    animation: fadeInOut 3s ease-in-out infinite;
    transition: opacity 0.5s ease;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .analysis-steps {
        gap: 0.5rem;
    }
    
    .step-item {
        min-width: 80px;
        padding: 0.75rem 0.5rem;
    }
    
    .step-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .step-text {
        font-size: 0.7rem;
    }
    
    .animated-face {
        width: 100px;
        height: 100px;
    }
}

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

/* Authentication Styles */
.auth-container {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.auth-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.brand-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-card .form-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.auth-card .form-control {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    font-size: 0.95rem;
}

.auth-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.auth-card .btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-card .btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.auth-card .btn-outline-secondary {
    border-color: var(--border-color);
    color: var(--text-color);
}

.auth-card .btn-outline-secondary:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Login Required Card */
.login-required-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.login-required-card .auth-buttons .btn {
    min-width: 140px;
}

.login-required-card .security-note {
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

/* OAuth Authentication Styles */
.oauth-buttons {
    margin-top: 1rem;
}

.oauth-btn {
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oauth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.oauth-btn i {
    font-size: 1.1rem;
}

/* Divider for OAuth section */
.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.divider-text {
    background: var(--card-bg);
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Specific OAuth provider colors */
.oauth-btn.btn-outline-danger {
    border-color: #dc3545;
    color: #dc3545;
}

.oauth-btn.btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}

.oauth-btn.btn-outline-primary {
    border-color: #1877f2;
    color: #1877f2;
}

.oauth-btn.btn-outline-primary:hover {
    background-color: #1877f2;
    color: white;
}

.oauth-btn.btn-outline-info {
    border-color: #1da1f2;
    color: #1da1f2;
}

.oauth-btn.btn-outline-info:hover {
    background-color: #1da1f2;
    color: white;
}

.oauth-btn.btn-outline-dark {
    border-color: #000;
    color: #000;
}

.oauth-btn.btn-outline-dark:hover {
    background-color: #000;
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .auth-container {
        margin: 1rem;
        max-width: none;
    }
    
    .brand-title {
        font-size: 1.75rem;
    }
    
    .login-required-card {
        padding: 2rem 1.5rem;
    }
    
    .login-required-card .auth-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }

/* Profile Page Styles */
.profile-header {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-avatar i {
    font-size: 4rem;
    color: var(--primary-color);
}

.profile-stats {
    margin-top: 2rem;
}

.stat-card {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.analysis-history {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analysis-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.analysis-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.analysis-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.analysis-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-muted);
}

.no-image i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.analysis-info {
    padding: 1.5rem;
}

.analysis-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.analysis-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.skin-type-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    text-transform: uppercase;
}

.skin-type-normal, .skin-type-Normal { background: #e3f2fd; color: #1976d2; }
.skin-type-dry, .skin-type-Trocken { background: #fff3e0; color: #f57c00; }
.skin-type-oily, .skin-type-Fettig { background: #e8f5e8; color: #388e3c; }
.skin-type-combination, .skin-type-Mischhaut { background: #f3e5f5; color: #7b1fa2; }
.skin-type-sensitive, .skin-type-Sensibel { background: #ffebee; color: #d32f2f; }
.skin-type-other, .skin-type-Unbestimmt { background: #f5f5f5; color: #616161; }

.analysis-preview p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.analysis-actions {
    display: flex;
    gap: 0.5rem;
}

.analysis-actions .btn {
    flex: 1;
}

.empty-state {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 3rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    color: var(--text-muted);
}

.share-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Mobile Responsiveness for Profile */
@media (max-width: 768px) {
    .profile-header {
        padding: 1.5rem;
    }
    
    .profile-avatar i {
        font-size: 3rem;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .analysis-card {
        margin-bottom: 1rem;
    }
    
    .analysis-actions {
        flex-direction: column;
    }
    
    .analysis-actions .btn {
        margin-bottom: 0.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .empty-state {
        padding: 2rem 1rem;
    }
    
    .empty-icon {
        font-size: 3rem;
    }
}
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-banner {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .cookie-actions {
        gap: 0.5rem;
    }
    
    .cookie-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Review Cards */
.review-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.review-rating {
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.review-author {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
}

.review-author strong {
    color: var(--text-color);
}

/* Hover effects */
.feature-card:hover .feature-icon {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.upload-area:hover .upload-icon {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Enhanced Result Page Styles */
.result-header {
    margin-bottom: 2rem;
}

.analysis-status-indicator {
    position: relative;
}

.status-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success-color), #22c55e);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 25px -8px rgba(34, 197, 94, 0.4);
    animation: pulseSuccess 2s infinite;
}

.status-circle.completed i {
    font-size: 2rem;
    color: white;
}

@keyframes pulseSuccess {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Modern Card Styles */
.modern-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.modern-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.modern-card .card-header {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid var(--border-color);
    border-radius: 16px 16px 0 0;
    padding: 1.25rem 1.5rem;
}

.modern-card .card-body {
    padding: 1.5rem;
}

/* Image Analysis Card */
.image-analysis-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    top: 2rem;
}

.image-container {
    overflow: hidden;
    border-radius: 12px;
}

.analysis-image {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.analysis-image:hover {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

/* Analysis Navigation */
.analysis-nav .nav-pills .nav-link {
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.analysis-nav .nav-pills .nav-link:hover {
    background-color: var(--background);
    color: var(--primary-color);
    border-color: var(--border-color);
}

.analysis-nav .nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Formatted Content */
.formatted-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 400;
}

.formatted-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.analysis-summary {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 400;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

/* Skin Type Badge */
.skin-type-badge {
    text-align: center;
}

.skin-type-badge .badge {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

/* Analysis Stats */
.analysis-stats .badge {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Action Buttons Enhanced */
.action-buttons-enhanced {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.action-buttons-enhanced .btn {
    margin: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-buttons-enhanced .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Fullscreen Modal */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.fullscreen-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Recommendations Styling */
.recommendation-item {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.recommendation-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.recommendation-item h6 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Enhanced Disclaimer */
.disclaimer-card {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: 16px;
}

.disclaimer-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

/* Accordion Styles */
.accordion {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.accordion-item {
    border: none;
    margin-bottom: 0;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: none;
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: none;
}

.accordion-button:hover {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.accordion-button:not(.collapsed):hover {
    background: linear-gradient(135deg, var(--primary-dark), #1d4ed8);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23374151'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 2rem;
    background: var(--surface);
}

/* Routine Sections */
.routine-section {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.routine-steps {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 400;
}

.routine-steps strong {
    color: var(--text-primary);
    font-weight: 400;
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.routine-steps strong:first-child {
    margin-top: 0;
}

/* Product Grid */
.products-grid .row {
    margin: 0;
}

.product-card {
    background: var(--surface);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px -8px rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: white;
    font-size: 1.5rem;
}

.product-name {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-card .btn {
    border-radius: 25px;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    transition: all 0.3s ease;
}

.product-card .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Priority-based Product Cards */
.product-priority-1 {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.product-priority-1:hover {
    border-color: #059669;
    box-shadow: 0 8px 25px -8px rgba(16, 185, 129, 0.4);
}

.product-priority-1 .product-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.product-priority-2 {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.product-priority-2:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 25px -8px rgba(59, 130, 246, 0.4);
}

.product-priority-2 .product-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.product-priority-3 {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
}

.product-priority-3:hover {
    border-color: #7c3aed;
    box-shadow: 0 8px 25px -8px rgba(139, 92, 246, 0.4);
}

.product-priority-3 .product-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* Amazon Link Styling */
.amazon-link {
    position: relative;
    overflow: hidden;
}

.amazon-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.amazon-link:hover::before {
    left: 100%;
}

/* Product Grid Enhancements */
.product-grid .row {
    margin: -0.75rem;
}

.product-grid .row > * {
    padding: 0.75rem;
}

/* Product Card Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* Meine Ergebnisse Page Styles */
.results-header {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    padding: 3rem 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.stats-overview {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px -8px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: white;
    font-size: 1.5rem;
}

.stat-content h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.stat-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.results-list {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.result-item {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.result-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.result-image {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px dashed var(--border-color);
}

.no-image-placeholder i {
    font-size: 2rem;
    color: var(--text-muted);
}

.result-info {
    padding-left: 1rem;
}

.result-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.meta-item i {
    color: var(--primary-color);
}

.result-preview p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.result-actions .btn {
    min-width: 100px;
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.result-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.empty-state {
    padding: 4rem 2rem;
}

.empty-icon {
    opacity: 0.6;
}

/* Responsive Adjustments for Meine Ergebnisse */
@media (max-width: 992px) {
    .results-header {
        padding: 2rem 1.5rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .result-actions {
        flex-direction: row;
        justify-content: flex-start;
        margin-top: 1rem;
    }
    
    .result-actions .btn {
        min-width: auto;
        flex: 1;
    }
}

@media (max-width: 768px) {
    .result-item {
        padding: 1rem;
    }
    
    .result-info {
        padding-left: 0;
        margin-top: 1rem;
    }
    
    .result-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .results-header {
        padding: 1.5rem 1rem;
    }
    
    .results-list {
        padding: 1rem;
    }
    
    .result-actions .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Progress Tracker Styles */
.progress-lg {
    height: 1.5rem;
    border-radius: 0.75rem;
}

.progress-bar {
    transition: width 2s ease-in-out;
}

.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}

/* XP Circle Animation */
.xp-display {
    margin: 2rem 0;
}

.xp-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, #007bff, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

.xp-inner {
    text-align: center;
    color: white;
}

.xp-number {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.xp-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Health Score Circle */
.health-score-container {
    margin: 2rem 0;
}

.health-score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(
        #28a745 0deg 180deg,
        #ffc107 180deg 270deg,
        #dc3545 270deg 360deg
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
}

.health-score-circle::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    z-index: 1;
}

.health-score-inner {
    text-align: center;
    z-index: 2;
    position: relative;
}

.health-score-number {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.health-score-label {
    font-size: 0.9rem;
    color: #666;
}

.health-score-circle.score-high {
    box-shadow: 0 0 30px rgba(40, 167, 69, 0.4);
}

.health-score-circle.score-medium {
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.4);
}

.health-score-circle.score-low {
    box-shadow: 0 0 30px rgba(220, 53, 69, 0.4);
}

/* Statistics Cards */
.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.stat-icon {
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin: 0.5rem 0;
}

.stat-label {
    font-size: 0.9rem;
    margin: 0;
}

/* Milestones Grid */
.milestones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.milestone-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.milestone-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.milestone-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.milestone-badge {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.milestone-badge i {
    color: #333;
}

.milestone-content {
    flex: 1;
}

.milestone-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.milestone-description {
    color: #666;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.milestone-date {
    font-size: 0.8rem;
}

/* Improvement Rate Styles */
.improvement-rate {
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
}

.improvement-positive {
    animation: bounce 0.5s ease-in-out;
}

.improvement-negative {
    animation: shake 0.5s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Achievement Modal Styles */
.achievement-animation {
    padding: 2rem;
}

.achievement-badge {
    animation: achievement-glow 2s ease-in-out infinite;
}

@keyframes achievement-glow {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.1); filter: brightness(1.2); }
}

.achievement-title {
    color: #28a745;
    font-weight: bold;
    margin: 1rem 0;
}

/* Responsive Design for Progress Tracker */
@media (max-width: 768px) {
    .milestones-grid {
        grid-template-columns: 1fr;
    }
    
    .milestone-item {
        flex-direction: column;
        text-align: center;
    }
    
    .milestone-badge {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .health-score-circle {
        width: 120px;
        height: 120px;
    }
    
    .health-score-circle::before {
        width: 100px;
        height: 100px;
    }
    
    .health-score-number {
        font-size: 1.5rem;
    }
    
    .xp-circle {
        width: 100px;
        height: 100px;
    }
    
    .xp-number {
        font-size: 1.2rem;
    }
}

/* Achievement Notification Styles */
.achievement-notifications {
    max-width: 800px;
    margin: 0 auto;
}

.achievement-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 12px;
    border: 1px solid #f1c40f;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.2);
    animation: slideInDown 0.5s ease-out;
}

.achievement-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    animation: pulse 2s infinite;
}

.achievement-icon i {
    font-size: 1.5rem;
    color: white;
}

.achievement-content {
    flex: 1;
}

.achievement-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8b4513;
    margin: 0 0 0.25rem 0;
}

.achievement-description {
    font-size: 1rem;
    color: #b8860b;
    margin: 0 0 0.25rem 0;
}

.achievement-details {
    font-size: 0.85rem;
    color: #a0522d;
    margin: 0;
}

.achievement-action {
    flex-shrink: 0;
    margin-left: 1rem;
}

/* Level Up Notification Styles */
.level-up-notification {
    max-width: 600px;
    margin: 0 auto;
}

.level-up-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    border: 1px solid #2196f3;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
    animation: bounce 0.8s ease-out;
}

.level-up-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2196f3, #1976d2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    animation: rotate 2s linear infinite;
}

.level-up-icon i {
    font-size: 2rem;
    color: white;
}

.level-up-content {
    flex: 1;
    text-align: center;
}

.level-up-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1565c0;
    margin: 0 0 0.5rem 0;
}

.level-up-description {
    font-size: 1rem;
    color: #1976d2;
    margin: 0 0 1rem 0;
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-bounce {
    animation: bounce 0.8s ease-out;
}

/* Responsive Design for Achievement Notifications */
@media (max-width: 768px) {
    .achievement-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .achievement-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .achievement-action {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .level-up-card {
        flex-direction: column;
        text-align: center;
    }
    
    .level-up-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Profile Settings Styles */
.settings-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.settings-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.settings-card h4 {
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.settings-card .form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.settings-card .form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.settings-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.settings-card .form-control:disabled {
    background-color: var(--bg-light);
    border-color: var(--border-color);
    color: var(--text-muted);
}

.settings-card .form-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.settings-card .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.settings-card .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.settings-card .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
}

.settings-card .btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    color: white;
}

.settings-card .btn-warning:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: white;
}

.settings-card .invalid-feedback {
    display: block;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.settings-card .is-invalid {
    border-color: #dc3545;
}

.settings-card .is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Profile Header Enhancements */
.profile-header {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.profile-avatar i {
    font-size: 4rem;
    color: var(--primary-color);
}

/* Responsive Settings Cards */
@media (max-width: 992px) {
    .settings-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .settings-card {
        padding: 1rem;
    }
    
    .settings-card h4 {
        font-size: 1.1rem;
    }
    
    .profile-header {
        padding: 1.5rem;
    }
    
    .profile-avatar i {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .settings-card .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Diagnosis Content */
.diagnosis-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 400;
}

.diagnosis-content strong {
    color: var(--text-primary);
    font-weight: 400;
}

.analysis-diagnosis {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--success-color);
}

/* Responsive Enhancements */
@media (max-width: 992px) {
    .image-analysis-card {
        position: static !important;
        margin-bottom: 2rem;
    }
    
    .accordion-button {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1.5rem;
    }
    
    .routine-section {
        padding: 1.25rem;
    }
    
    .product-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .status-circle {
        width: 60px;
        height: 60px;
    }
    
    .status-circle.completed i {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .products-grid .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
    
    .routine-section {
        padding: 1rem;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .product-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .action-buttons-enhanced .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
    
    .analysis-summary, .diagnosis-content {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Email Results Section */
.email-results-section {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.email-results-section h5 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.email-form {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.email-form .form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.email-form .form-control {
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.email-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.15rem rgba(59, 130, 246, 0.2);
}

.email-form .btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.email-form .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.email-form .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Modern Results Page Design */
.results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Clean Typography */
.results-container h1 {
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.results-container h2, .results-container h3 {
    font-weight: 600;
    color: var(--text-primary);
}

.results-container p {
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Modern Card Design with Subtle Shadows */
.analysis-card {
    background: var(--surface);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.5);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.analysis-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Image Container with Modern Styling */
.analysis-image-container {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

.analysis-image-container img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 16px;
    display: block;
}

/* Structured Content Cards */
.concern-card, .recommendation-card {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.concern-card h4, .recommendation-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Encouraging Summary Section */
.summary-section {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.summary-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.summary-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Modern Accordion Styling */
.accordion {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.accordion-item {
    border: none;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    border-radius: 0;
}

.accordion-button {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: none;
    font-weight: 600;
    color: var(--text-primary);
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.accordion-body {
    background: var(--surface);
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* Animation for product cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Touch-Friendly and Mobile Optimizations */
.btn, .accordion-button {
    min-height: 44px; /* Touch-friendly size */
    touch-action: manipulation;
}

/* Go Back Button Styling */
.go-back-btn {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.go-back-btn:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Loading and Success States */
.loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--primary-color);
}

.success-indicator {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border: 1px solid #10b981;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    color: #065f46;
}

/* Single Column Layout Optimizations */
.single-column-layout {
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design for Mobile Devices */
@media (max-width: 768px) {
    .results-container {
        padding: 0.5rem;
    }
    
    .results-container h1 {
        font-size: 1.5rem;
    }
    
    .analysis-card {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    
    .analysis-image-container {
        max-width: 300px;
    }
    
    .analysis-image-container img {
        max-height: 250px;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .email-results-section {
        padding: 1.5rem 1rem;
        margin-top: 1rem;
    }
    
    .email-form {
        padding: 1rem;
    }
    
    .email-form .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .summary-section {
        padding: 1.5rem;
    }
    
    .summary-section h2 {
        font-size: 1.25rem;
    }
    
    .concern-card, .recommendation-card {
        padding: 0.75rem;
    }
}

/* Extra Small Devices (phones in portrait) */
@media (max-width: 480px) {
    .results-container {
        padding: 0.25rem;
    }
    
    .results-container h1 {
        font-size: 1.25rem;
    }
    
    .analysis-card {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .analysis-image-container img {
        max-height: 200px;
    }
    
    .accordion-button {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .summary-section {
        padding: 1rem;
    }
    
    .email-form .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Fast Loading Optimizations */
.analysis-card, .accordion-item, .email-results-section {
    will-change: transform;
}

/* Improved Readability */
.accordion-body p {
    margin-bottom: 0.75rem;
}

.accordion-body ul, .accordion-body ol {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.accordion-body li {
    margin-bottom: 0.25rem;
}

/* Hero Section Enhancements */
.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    animation: fadeInDown 0.6s ease-out;
}

.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-features {
    animation: fadeInUp 0.8s ease-out;
}

.hero-feature {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.1);
}

.hero-cta {
    animation: fadeInUp 1s ease-out;
}

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

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

/* Example Analysis Section */
.example-analysis-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.example-analysis-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.example-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.example-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.15);
}

.example-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.example-image:hover {
    transform: scale(1.05);
}

.analysis-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1rem;
}

.analysis-badge {
    background: rgba(59, 130, 246, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.skin-type-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

.analysis-meta {
    margin-top: 0.5rem;
}

.analysis-highlights {
    margin-top: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(248, 250, 252, 1);
    transform: translateX(4px);
}

.highlight-icon {
    margin-right: 1rem;
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.highlight-content h6 {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: #1e293b;
}

.highlight-content p {
    margin: 0;
    line-height: 1.5;
}

.accuracy-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    display: inline-block;
}

.success-stats {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.1);
}

.stat-item {
    padding: 1rem 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Responsive Design for Example Section */
@media (max-width: 768px) {
    .example-analysis-section {
        padding: 2rem 1rem;
    }
    
    .example-card {
        padding: 1.5rem;
    }
    
    .example-image {
        height: 200px;
    }
    
    .highlight-item {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}
