/* ===================================
   TONIES TESTING HUB - COMPONENTS CSS
   Merged existing styles with enhanced scenario page design
   =================================== */

/* Current Page Indicator */
.current-page-indicator {
    position: fixed;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Pilot Banner */
.pilot-banner {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    margin-top: var(--spacing-lg);
    border: 1px solid rgba(255,255,255,0.1);
}

.pilot-banner h3 {
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.use-cases {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.use-case {
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(5px);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 15px;
    font-size: var(--font-size-sm);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.use-case:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

/* Scenario Grid */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

/* Scenario Cards */
.scenario-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.scenario-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d2000f, #f94d32);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scenario-card:hover {
    border-color: var(--border-focus);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.scenario-card:hover::before {
    opacity: 1;
}

.scenario-card.available:hover {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.scenario-card.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
}

.scenario-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.scenario-icon {
    font-size: 2.5em;
    margin-right: var(--spacing-md);
}

.scenario-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
}

.scenario-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
    flex-wrap: wrap;
}

.meta-item {
    background: var(--border-focus);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.scenario-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.scenario-objectives {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-sm);
}

.scenario-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* ===================================
   ENHANCED SCENARIO PAGE STYLES
   =================================== */

/* Page Layout Improvements */
.scenario-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #d2000f 0%, #f94d32 100%);
    min-height: 100vh;
    color: white;
}

.page-header {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border-radius: 16px !important;
    padding: 30px !important;
    margin-bottom: 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    position: relative;
}

.back-to-home {
    display: inline-flex !important;
    align-items: center;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    margin-bottom: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    z-index: auto !important;
}

.back-to-home:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    transform: translateX(-5px);
    text-decoration: none;
}

.page-header h2 {
    font-size: 2.5rem !important;
    margin: 15px 0 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    color: white !important;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.1rem;
    line-height: 1.6;
}

.zendesk-integration-notice {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 20px;
    border-left: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.zendesk-integration-notice p {
    margin: 0;
    color: white !important;
    font-weight: 500;
}

/* Test Case Section */
.test-case-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.test-case-selector h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
}

.selector-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.test-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.test-case-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.test-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.test-case-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.test-case-card:hover::before {
    opacity: 1;
}

.test-case-card.selected {
    background: rgba(255, 255, 255, 0.2);
    border-color: #4ecdc4;
    box-shadow: 0 0 30px rgba(78, 205, 196, 0.3);
}

.test-case-card.selected::before {
    opacity: 1;
    background: #4ecdc4;
}

.test-case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.test-id {
    background: linear-gradient(135deg, #d2000f 0%, #f94d32 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.difficulty-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty-badge.high-stress {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.difficulty-badge.moderate-stress {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
    color: white;
}

.difficulty-badge.time-sensitive {
    background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
    color: white;
}

.difficulty-badge.complex-planning {
    background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
    color: white;
}

.difficulty-badge.urgent {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.difficulty-badge.variable {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
    color: white;
}

.test-case-name {
    font-size: 1.3rem;
    margin: 15px 0 10px 0;
    color: #fff;
    font-weight: 600;
}

.test-case-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.5;
}

.test-objectives {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
}

.test-objectives strong {
    color: #4ecdc4;
    font-size: 1.1rem;
}

.test-objectives ul {
    margin: 10px 0 0 0;
    padding-left: 0;
    list-style: none;
}

.test-objectives li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.test-objectives li::before {
    content: '🎯';
    position: absolute;
    left: 0;
}

.test-case-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.meta-duration, .meta-complexity {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Scenario Details Section */
.scenario-details-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scenario-overview h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
}

.scenario-context {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.current-test-case {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2) 0%, rgba(69, 183, 209, 0.2) 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #4ecdc4;
}

.current-test-case h4 {
    color: #4ecdc4;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.test-case-scenario {
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.test-case-scenario strong {
    color: #fff;
}

.test-case-objectives {
    margin-top: 15px;
}

.test-case-objectives strong {
    color: #fff;
    font-size: 1.1rem;
}

.test-case-objectives ul {
    margin: 10px 0;
    padding-left: 0;
    list-style: none;
}

.test-case-objectives li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.test-case-objectives li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-weight: bold;
}

/* Success Criteria */
.success-criteria {
    margin-top: 25px;
}

.success-criteria h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.criteria-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.criteria-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.criteria-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.criteria-content strong {
    color: #fff;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
}

.criteria-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

/* Prompt Generator Section */
.prompt-generator-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.generator-header {
    text-align: center;
    margin-bottom: 30px;
}

.generator-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.generator-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Enhanced Form Styling for Scenario Pages */
.scenario-page .prompt-form {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.scenario-page .form-group {
    margin-bottom: var(--spacing-lg);
}

.scenario-page .form-label {
    display: block;
    color: #fff !important;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.scenario-page .helper-text {
    display: block;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem;
    font-weight: normal;
    margin-top: 5px;
}

.scenario-page select,
.scenario-page input,
.scenario-page textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.scenario-page select:focus,
.scenario-page input:focus,
.scenario-page textarea:focus {
    outline: none;
    border-color: #4ecdc4;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.scenario-page select option {
    background: #2c3e50;
    color: white;
}

.scenario-page textarea {
    min-height: 100px;
    resize: vertical;
}

/* Enhanced Checkbox Grid for Scenario Pages */
.scenario-page .checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.scenario-page .checkbox-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scenario-page .checkbox-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.scenario-page .checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #4ecdc4;
}

.scenario-page .checkbox-item span {
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    font-size: var(--font-size-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: var(--bg-accent);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--border-light);
    transform: translateY(-2px);
}

/* Enhanced buttons for scenario pages */
.scenario-page .btn-primary {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.scenario-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.6);
}

.scenario-page .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.scenario-page .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* Quick Start Section */
.quick-start {
    background: #fff9c1;
    border: 2px solid #FFDD00;
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
}

.quick-start h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    color: #2f855a;
}

.quick-start p {
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
}

/* Generated Prompt Display */
.prompt-result {
    margin-top: var(--spacing-lg);
}

.generated-prompt {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2) 0%, rgba(69, 183, 209, 0.2) 100%);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.prompt-header h4 {
    color: #4ecdc4;
    font-size: 1.3rem;
    margin: 0;
}

.prompt-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.prompt-display {
    margin: 20px 0;
}

.prompt-text {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 8px;
    font-family: 'Consolas', 'Monaco', monospace;
    line-height: 1.6;
    white-space: pre-wrap;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.copy-btn, .edit-btn {
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.copy-btn:hover, .edit-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.next-steps {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.next-steps h5 {
    color: #4ecdc4;
    margin-bottom: 15px;
}

.next-steps ol {
    margin: 0;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.next-steps li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Page Navigation */
.page-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    gap: 15px;
    flex-wrap: wrap;
}

/* Testing Tips */
.testing-tips {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
}

.testing-tips h4 {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.testing-tips ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.testing-tips li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.testing-tips li::before {
    content: '💡';
    position: absolute;
    left: 0;
}

/* ===================================
   EXISTING ZENDESK INTEGRATION STYLES
   =================================== */

.test-zendesk-btn {
    background: linear-gradient(135deg, #00a86b, #00c896);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.test-zendesk-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 107, 0.3);
}

.testing-workflow {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.workflow-step {
    display: flex;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    border-left: 4px solid rgba(255, 255, 255, 0.2);
}

.workflow-step.completed {
    border-left-color: #48bb78;
}

.step-number {
    background: #d2000f;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    font-weight: bold;
    margin-right: 12px;
}

.step-text {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
}

.step-status {
    font-size: 1.2em;
}

.quick-evaluation {
    background: rgba(78, 205, 196, 0.1);
    border: 2px solid #4ecdc4;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.rating-stars {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.star {
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: color 0.2s ease;
}

.star:hover,
.star.active {
    color: #ffd700;
}

.evaluation-notes textarea {
    width: 100%;
    min-height: 60px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 6px;
    padding: 10px;
}

.evaluation-notes textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.testing-instructions-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.modal-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    margin: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-content h3 {
    margin-bottom: 20px;
    color: #2d3748;
}

.modal-content ol {
    margin: 15px 0 15px 20px;
}

.modal-content li {
    margin-bottom: 8px;
}

.evaluation-criteria {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4caf50;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.evaluation-criteria h4 {
    color: #4caf50;
    margin-bottom: 15px;
}

.criteria-list {
    display: grid;
    gap: 10px;
    margin-top: 15px;
}

.evaluation-criteria .criteria-item {
    display: flex;
    align-items: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    text-align: left;
}

.evaluation-criteria .criteria-item input {
    width: auto;
    margin-right: 10px;
}

.evaluation-criteria .criteria-item label {
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

/* Ensure Zendesk widget doesn't interfere */
.zopim-widget {
    z-index: 9999 !important;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases {
        flex-direction: column;
        align-items: center;
    }
    
    .scenario-actions {
        flex-direction: column;
    }
    
    .current-page-indicator {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: var(--spacing-md);
    }
    
    .scenario-page {
        padding: 15px;
    }
    
    .test-case-grid {
        grid-template-columns: 1fr;
    }
    
    .criteria-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .page-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-header h2 {
        font-size: 2rem !important;
    }
    
    .prompt-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .prompt-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

.floating-feedback-btn {
    position: fixed;
    bottom: 80px;
    left: 20px;  /* Changed from right: 20px to left: 20px */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
}

.floating-feedback-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Modal Styles */
.feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.modal-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    max-width: 900px;
    max-height: 90vh;
    width: 90%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.modal-header h3 {
    margin: 0 0 5px 0;
    font-size: 1.4rem;
}

.modal-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 0;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.asana-embed-iframe {
    border: none;
    width: 100%;
}

/* Footer Feedback */
.footer-feedback {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    margin: 20px 0;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-feedback h4 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-feedback p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

/* Scenario Feedback Banner */
.scenario-feedback {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.feedback-banner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feedback-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.feedback-icon {
    font-size: 2rem;
}

.feedback-text strong {
    color: #ffc107;
    display: block;
    margin-bottom: 5px;
}

.feedback-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #ffc107;
    color: #ffc107;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #ffc107;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-feedback-btn {
        bottom: 20px;
        left: 15px;  /* Changed from right: 15px to left: 15px */
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .feedback-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .feedback-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Test Data Container Styles */
.test-data-container {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
    border-left: 4px solid #4caf50;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.test-data-container h4 {
    color: #4caf50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.test-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.test-data-section h5 {
    color: #4caf50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.test-data-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.test-data-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.test-data-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.test-data-value {
    font-family: 'Consolas', 'Monaco', monospace;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    flex: 1;
}

.copy-btn-small {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn-small:hover {
    background: rgba(76, 175, 80, 0.3);
    transform: scale(1.05);
}

.test-data-note {
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .test-data-grid {
        grid-template-columns: 1fr;
    }
    
    .test-data-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .copy-btn-small {
        align-self: flex-end;
    }
}