/*body {
    background-color: #f4f4f9;*/ /* Light grayish background */
    /*font-family: 'Inter', sans-serif;*/ /* Clean modern font */
    /*display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}*/

.modern-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}


.modern-title {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modern-subtitle {
    font-size: 18px;
    color: #555;
    font-weight: 400;
    margin-bottom: 20px;
}


/* Content type grid layout */
.content-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px auto;
    max-width: 900px;
    padding: 0 15px;
}

/* Content type card style */
.content-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.content-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.content-type-card.selected {
    border-color: #2c3e50;
    background-color: #f8f9ff;
}

/* Icon wrapper */
.content-type-icon-wrapper {
    margin-bottom: 16px;
}

/* Icon style */
.content-type-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f6f8fa;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.content-type-card:hover .content-type-icon,
.content-type-card.selected .content-type-icon {
    transform: scale(1.1);
}

.content-type-icon span {
    font-size: 30px;
}

/* Content type color variations */
.social-media-icon {
    background: linear-gradient(135deg, #1DA1F2, #0D8FD8);
    color: white;
}

.case-study-icon {
    background: linear-gradient(135deg, #6E4FF4, #4B25F2);
    color: white;
}

.press-release-icon {
    background: linear-gradient(135deg, #FF6B6B, #EE5253);
    color: white;
}

.email-icon {
    background: linear-gradient(135deg, #20BF6B, #0D9F53);
    color: white;
}

.document-icon {
    background: linear-gradient(135deg, #747d8c, #57606f);
    color: white;
}

/* Title and description */
.content-type-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    text-align: center;
}

.content-type-description {
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 1.3;
}


.modern-button {
    background-color: #2c3e50;
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    margin-top: 20px;
    width: 100%;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease-in-out;
}

    .modern-button:hover {
        background-color: #1c2833;
    }


.modern-alert {
    background: #e3fcef;
    color: #2c9e60;
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    border-left: 5px solid #2c9e60;
}
/* Modern UI Base Styles */
:root {
    --primary: #4361ee;
    --primary-light: #eef2ff;
    --primary-dark: #3a56d4;
    --secondary: #7209b7;
    --secondary-light: #f3e8fa;
    --accent: #4cc9f0;
    --dark: #1a1a2e;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --success: #07bc0c;
    --warning: #ffbe0b;
    --danger: #f72585;
    --info: #4cc9f0;
    --text: #343a40;
    --text-light: #6c757d;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-sm: 8px;
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    --box-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --font-primary: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html, body {
    font-family: var(--font-primary);
    color: var(--text);
    line-height: 1.5;
    background-color: var(--gray-100);
    overflow-x: hidden;
}

a, .btn-link {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover, .btn-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(67, 97, 238, 0.15);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(67, 97, 238, 0.2);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.15rem rgba(67, 97, 238, 0.5);
}

/* Page transition overlays */
#ai-page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    visibility: hidden;
}

.ai-transition-fade {
    visibility: visible !important;
    background-color: var(--primary);
    animation: fadeTransition 0.8s ease-in-out forwards;
}

.ai-transition-slide {
    visibility: visible !important;
    background-color: var(--primary);
    clip-path: circle(0% at 50% 50%);
    animation: circleTransition 0.8s cubic-bezier(0.86, 0, 0.07, 1) forwards;
}

.ai-transition-zoom {
    visibility: visible !important;
    background-color: var(--primary);
    transform: scale(0);
    animation: zoomTransition 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes fadeTransition {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes circleTransition {
    0% { clip-path: circle(0% at 50% 50%); }
    50% { clip-path: circle(100% at 50% 50%); }
    100% { clip-path: circle(0% at 50% 50%); }
}

@keyframes zoomTransition {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Card styles */
.modern-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: none;
    overflow: hidden;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.modern-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Glass morphism effect */
.glass-container {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
}

/* Form inputs */
.form-control {
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gray-300);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.form-control::placeholder {
    color: var(--gray-500);
}

/* AI-specific styles */
.ai-char {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.ai-loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.ai-loading-dots {
    display: flex;
    gap: 8px;
}

.ai-loading-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    animation: dotPulse 1.5s infinite ease-in-out;
}

.ai-glow-effect {
    --glow-color: var(--primary);
    position: relative;
    animation: glowPulse 2s infinite;
}

.ai-keyword-highlight {
    background: linear-gradient(120deg, rgba(76, 201, 240, 0.3), rgba(67, 97, 238, 0.3));
    border-radius: 4px;
    padding: 0 4px;
    margin: 0 -2px;
    animation: highlightPulse 2s infinite;
}

.pulse-highlight {
    background: linear-gradient(120deg, rgba(247, 37, 133, 0.2), rgba(114, 9, 183, 0.2));
    border-radius: 4px;
    padding: 0 4px;
    margin: 0 -2px;
    animation: highlightPulse 2s infinite;
}

/* Wave effect for content segments */
.wave-transition-in {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    z-index: 9999;
    clip-path: ellipse(200% 100% at 50% 100%);
    animation: waveIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.wave-transition-out {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    z-index: 9999;
    clip-path: ellipse(0% 0% at 50% 0%);
    animation: waveOut 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Animations */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes dotPulse {
    0%, 100% { transform: scale(0.6); opacity: 0.6; }
    50% { transform: scale(1); opacity: 1; }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 5px 0 var(--glow-color); }
    50% { box-shadow: 0 0 20px 5px var(--glow-color); }
}

@keyframes highlightPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes waveIn {
    0% { clip-path: ellipse(200% 0% at 50% 0%); }
    100% { clip-path: ellipse(200% 200% at 50% 100%); }
}

@keyframes waveOut {
    0% { clip-path: ellipse(0% 0% at 50% 0%); }
    100% { clip-path: ellipse(200% 200% at 50% 0%); }
}

/* Textarea with AI feel */
.ai-textarea {
    min-height: 250px;
    max-height: 800px;
    padding: 20px;
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--gray-100);
    border: 1px solid transparent;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    resize: vertical;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow-y: auto;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.ai-textarea:focus {
    outline: none;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05), 0 0 0 3px rgba(67, 97, 238, 0.2);
    border-color: var(--primary);
}

/* Markdown content styling in textarea */
.ai-textarea.markdown-content {
    text-align: left;
    padding: 1.5rem;
    color: var(--gray-800);
    line-height: 1.6;
    font-size: 1rem;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: block !important;
}

.ai-textarea.markdown-content h1,
.ai-textarea.markdown-content h2,
.ai-textarea.markdown-content h3,
.ai-textarea.markdown-content h4,
.ai-textarea.markdown-content h5,
.ai-textarea.markdown-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.3;
}

.ai-textarea.markdown-content h1 {
    font-size: 1.75rem;
    border-bottom: 1px solid var(--gray-300);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

.ai-textarea.markdown-content h2 {
    font-size: 1.5rem;
    margin-top: 1.8rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.3rem;
}

.ai-textarea.markdown-content h3 {
    font-size: 1.25rem;
    color: var(--secondary);
}

.ai-textarea.markdown-content h4 {
    font-size: 1.1rem;
}

.ai-textarea.markdown-content h5 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ai-textarea.markdown-content h6 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gray-700);
}

.ai-textarea.markdown-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.ai-textarea.markdown-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px dotted var(--primary-light);
    transition: all 0.2s ease;
}

.ai-textarea.markdown-content a:hover {
    color: var(--primary-dark);
    border-bottom: 1px solid var(--primary);
}

.ai-textarea.markdown-content ul,
.ai-textarea.markdown-content ol {
    margin: 0 0 1rem 1.5rem;
    padding-left: 0.5rem;
}

.ai-textarea.markdown-content li {
    margin-bottom: 0.5rem;
    position: relative;
}

.ai-textarea.markdown-content ul > li {
    list-style-type: disc;
}

.ai-textarea.markdown-content ol > li {
    list-style-type: decimal;
}

.ai-textarea.markdown-content ul ul,
.ai-textarea.markdown-content ol ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
}

.ai-textarea.markdown-content ul ul > li {
    list-style-type: circle;
}

.ai-textarea.markdown-content ol ol,
.ai-textarea.markdown-content ul ol {
    margin: 0.5rem 0 0.5rem 1.5rem;
}

.ai-textarea.markdown-content strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.ai-textarea.markdown-content em {
    font-style: italic;
}

.ai-textarea.markdown-content blockquote {
    border-left: 4px solid var(--primary-light);
    padding: 0.5rem 1rem;
    margin: 0 0 1rem 0;
    background-color: var(--gray-100);
    color: var(--gray-700);
    font-style: italic;
}

.ai-textarea.markdown-content code {
    font-family: "Fira Code", "SF Mono", "Menlo", "Monaco", "Consolas", monospace;
    padding: 0.2rem 0.4rem;
    font-size: 0.9em;
    background-color: var(--gray-200);
    border-radius: 3px;
    color: var(--primary-dark);
}

.ai-textarea.markdown-content pre {
    background-color: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    padding: 1rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.ai-textarea.markdown-content pre code {
    background-color: transparent;
    padding: 0;
    font-size: 0.85em;
    line-height: 1.45;
    color: var(--gray-800);
    display: block;
    white-space: pre;
}

.ai-textarea.markdown-content hr {
    height: 0.15rem;
    padding: 0;
    margin: 1.5rem 0;
    background-color: var(--gray-300);
    border: 0;
}

/* AI processing dot animation */
.ai-processing-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 20px;
}

.ai-processing-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.8;
}

.ai-processing-dots span:nth-child(1) {
    animation: dotJump 1.2s -0.32s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
}

.ai-processing-dots span:nth-child(2) {
    animation: dotJump 1.2s -0.16s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
}

.ai-processing-dots span:nth-child(3) {
    animation: dotJump 1.2s 0s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
}

@keyframes dotJump {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Additional fancy UI elements */

/* Text gradient effect */
.text-gradient {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    /* For modern browsers - although browser validation might flag this */
    background-clip: border-box;
    /* Text color fallback for older browsers */
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    font-weight: 700;
}

/* Fancy upload container */
.upload-dropzone {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.upload-dropzone:hover {
    border-color: var(--primary) !important;
    background-color: var(--primary-light);
}

.upload-icon {
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Rating circles */
.rating-badge {
    padding: 6px;
}

.rating-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.rating-circle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
}

.rating-circle #rating-number {
    font-size: 1.5rem;
    line-height: 1;
    position: relative;
    z-index: 2;
}

.rating-circle .rating-max {
    font-size: 0.8rem;
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

.rating-excellent {
    background: linear-gradient(135deg, #20BF6B, #0D9F53);
}

.rating-good {
    background: linear-gradient(135deg, #4CC9F0, #4361EE);
}

.rating-average {
    background: linear-gradient(135deg, #FFBE0B, #FB5607);
}

.rating-poor {
    background: linear-gradient(135deg, #F72585, #B5179E);
}

.rating-neutral {
    background: linear-gradient(135deg, #6c757d, #495057);
}

/* Glass container with added effects */
.glass-container {
    position: relative;
    overflow: hidden;
}

.glass-container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 80%);
    transform: rotate(30deg);
    z-index: 0;
    pointer-events: none;
}

.glass-container > * {
    position: relative;
    z-index: 1;
}

/* AI assistant container */
.ai-assistant-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Assessment results container */
.assessment-results-container {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
}

.results-section {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ai-interface {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 5px !important;
}

/* Welcome section enhanced */
.welcome-section {
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
}

.welcome-section::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.1), transparent 70%);
    z-index: 0;
}

/* Enhanced AI textarea */
.ai-textarea {
    font-family: var(--font-primary);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    height: auto;
    min-height: 250px;
    max-height: 500px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-100);
    border: 1px solid var(--gray-300);
    font-size: 0.95rem;
}

/* Blinking cursor effect */
.cursor-blink::after {
    content: "|";
    animation: cursorBlink 1s infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.content-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.content-type-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .content-type-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    .content-type-card.selected {
        border-color: var(--primary);
        background-color: var(--primary-light);
    }

.content-type-icon-container {
    margin-bottom: 1rem;
}

.content-type-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
}

.social-media-icon {
    background: linear-gradient(135deg, #1DA1F2, #0D8FD8);
}

.case-study-icon {
    background: linear-gradient(135deg, #6E4FF4, #4B25F2);
}

.press-release-icon {
    background: linear-gradient(135deg, #FF6B6B, #EE5253);
}

.email-icon {
    background: linear-gradient(135deg, #20BF6B, #0D9F53);
}

.content-type-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.content-type-description {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0;
}

/* Custom layout for results */
.assessment-results-container {
    width: 100% !important;
    padding: 2rem !important;
}

#aiAnalysisOutput, 
#rewrittenContent {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}