/* Dynamic Chatbot Generator - Complete Merged CSS */

/* Main Layout */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.connection-section {
    margin-bottom: 20px;
    text-align: center;
}

/* Animations */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Page Header Styles */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    gap: 20px;
}

.page-header .header-title {
    flex: 1;
    text-align: center;
}

.page-header h1 {
    color: #333;
    margin: 0 0 10px 0;
    font-size: 2.5em;
}

.page-header p {
    color: #666;
    font-size: 1.1em;
    margin: 0;
}

/* Socket Status in Header - Integrated Design */
.socket-status-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
    border-left: 3px solid #007bff;
    font-size: 13px;
    min-width: 180px;
    font-family: Arial, sans-serif;
    margin-top: 5px;
}

.socket-status-header .status {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 11px;
    transition: all 0.3s ease;
}

.socket-status-header .status.connected {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.socket-status-header .status.connected::before {
    content: "🟢";
    margin-right: 3px;
    animation: pulse 2s infinite;
}

.socket-status-header .status.disconnected {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.socket-status-header .status.disconnected::before {
    content: "🔴";
    margin-right: 3px;
}

.socket-status-header .status.connecting {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.socket-status-header .status.connecting::before {
    content: "🟡";
    margin-right: 3px;
    animation: pulse 1s infinite;
}

.socket-status-header .status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.socket-status-header .status.error::before {
    content: "❌";
    margin-right: 3px;
}

.socket-status-header .btn {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: normal;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.socket-status-header .btn-connect {
    background-color: #007bff;
    color: white;
}

.socket-status-header .btn-connect:hover {
    background-color: #0056b3;
}

.socket-status-header .btn-disconnect {
    background-color: #6c757d;
    color: white;
}

.socket-status-header .btn-disconnect:hover {
    background-color: #545b62;
}

.socket-status-header .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Tab Navigation System */
.tab-navigation {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    position: relative;
    overflow: visible;
    gap: 12px;
}

.tab-item {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background-color: transparent;
    min-width: 160px;
    max-width: 200px;
}

.tab-item:hover:not(.disabled) {
    background-color: rgba(0, 123, 255, 0.1);
}

.tab-item.active {
    background-color: #007bff;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.tab-item.completed:not(.active) {
    background-color: #28a745;
    color: white;
}

.tab-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    color: #6c757d;
}

.tab-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.tab-item.active .tab-number {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.tab-item.completed .tab-number {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.tab-item.disabled .tab-number {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #6c757d;
}

.tab-content {
    text-align: left;
}

.tab-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 2px;
}

.tab-description {
    font-size: 12px;
    opacity: 0.8;
}

/* Tab Content Panel Styles */
.tab-content-container {
    position: relative;
    min-height: 500px;
}

.tab-content-panel {
    display: none;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-content-panel.active {
    display: block;
}

.tab-panel-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 25px 30px;
    text-align: center;
}

.tab-panel-header h2 {
    margin: 0 0 10px 0;
    font-size: 1.8em;
}

.tab-panel-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1em;
}

.tab-panel-content {
    padding: 30px;
}

/* Status Elements */
.status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 10px;
}

.status.connected {
    background-color: #d4edda;
    color: #155724;
}

.status.disconnected {
    background-color: #f8d7da;
    color: #721c24;
}

.status.connecting {
    background-color: #fff3cd;
    color: #856404;
}

.status.error {
    background-color: #f8d7da;
    color: #721c24;
    font-weight: bold;
}

/* Button Styles */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 5px;
}

.btn-connect {
    background-color: #28a745;
    color: white;
}

.btn-disconnect {
    background-color: #dc3545;
    color: white;
}

.btn-send {
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
}

.btn-purple {
    background: #6f42c1;
    border-color: #6f42c1;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.save-prompts-btn-spacing {
    margin-left: 10px;
}

/* CSP Compliance Classes for Dynamic HTML Generation */
.error-message-box {
    color: #721c24;
    background-color: #f8d7da;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #dc3545;
    margin-bottom: 15px;
}

.loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-container-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.loading-spinner-large {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.success-message-box {
    color: #155724;
    background-color: #d4edda;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #28a745;
    text-align: center;
    margin-bottom: 15px;
}

.loading-text {
    color: #666;
}

.loading-step-text {
    margin: 5px 0;
    color: #0c5460;
}

.loading-title {
    margin: 0;
    color: #0c5460;
}

.auto-mapping-section {
    display: block;
    margin-top: 20px;
    padding: 15px;
    background: #e8f4fd;
    border: 1px solid #b8daff;
    border-radius: 6px;
}

.auto-mapping-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.auto-mapping-title {
    margin: 0;
    color: #0c5460;
}

.auto-mapping-description {
    margin: 5px 0;
    color: #0c5460;
}

.auto-mapping-button-container {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-top: 15px;
}

.auto-mapping-button-description {
    margin: 8px 0 0 0;
    font-size: 12px;
    color: #666;
}

.validation-success {
    color: green;
}

.validation-error {
    color: red;
}

.status-success {
    margin: 10px 0;
    padding: 10px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
}

.ai-label {
    color: #007bff;
}

.error-section {
    color: #721c24;
    background-color: #f8d7da;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #dc3545;
    text-align: center;
}

.warning-section {
    color: #856404;
    background-color: #fff3cd;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #ffeaa7;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.warning-title {
    margin: 0;
    color: #856404;
}

.warning-text {
    margin: 5px 0;
    color: #856404;
}

.upload-success-container {
    text-align: center;
}

.upload-success-icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 15px;
}

.upload-success-filename {
    margin: 0 0 10px 0;
    font-weight: bold;
    color: #155724;
}

.upload-success-filesize {
    margin: 0 0 15px 0;
    color: #155724;
}

.upload-success-instruction {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.whitespace-pre-line {
    white-space: pre-line;
}

.inline-hide {
    display: none;
}

.inline-block {
    display: block;
}

.inline-flex {
    display: flex;
}

.margin-top-10 {
    margin-top: 10px;
}

.opacity-60 {
    opacity: 0.6;
}

.opacity-100 {
    opacity: 1;
}

.pointer-events-none {
    pointer-events: none;
}

.pointer-events-auto {
    pointer-events: auto;
}

.cursor-help {
    cursor: help;
}

.color-primary {
    color: #007bff;
}

.margin-right-8 {
    margin-right: 8px;
}

.margin-left-5 {
    margin-left: 5px;
}

/* Additional CSP Compliance Classes for HTML Template */
.auto-mapping-helper {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: #e8f4fd;
    border: 1px solid #b8daff;
    border-radius: 6px;
}

.auto-mapping-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.auto-mapping-icon {
    font-size: 18px;
}

.auto-mapping-title {
    margin: 0;
    color: #0c5460;
}

.auto-mapping-description {
    margin: 5px 0;
    color: #0c5460;
}

.graph-loading-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.graph-loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.graph-config-preview {
    display: none;
}

.graph-creation-success {
    display: none;
}

.graph-preview-error {
    display: none;
}

.btn-purple-custom {
    background: #6f42c1;
    border-color: #6f42c1;
}

.new-prompt-error {
    display: none;
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid #fecaca;
    padding: 8px 10px;
    border-radius: 6px;
    margin-top: 6px;
}

.btn-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    color: #374151;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-size: 14px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-container {
    max-width: 600px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

textarea.form-input {
    resize: vertical;
    min-height: 80px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.col-6 {
    flex: 1;
}

/* Intent Items */
.intent-item {
    background: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    border-left: 4px solid #007bff;
}

.intent-item.matched {
    border-left-color: #28a745;
    background-color: #f8fff9;
}

.intent-item.new {
    border-left-color: #ffc107;
    background-color: #fffbf0;
}

.intent-source {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

.intent-source.matched {
    color: #28a745;
}

.intent-source.new {
    color: #856404;
}

.intent-checkbox {
    margin-right: 10px;
}

.intent-name {
    font-weight: bold;
    color: #333;
}

.intent-description {
    color: #666;
    margin-top: 5px;
}

.intents-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.intent-badge {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #bbdefb;
}

.intent-badge.database {
    background-color: #e8f5e8;
    color: #2e7d32;
    border-color: #c8e6c9;
}

.intent-badge.extracted {
    background-color: #fff3e0;
    color: #f57c00;
    border-color: #ffcc02;
}

/* Matching Summary */
.matching-summary {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid #2196f3;
}

.reuse-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.reuse-stats .stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.stat-icon.matched {
    background-color: #28a745;
}

.stat-icon.new {
    background-color: #ffc107;
}

/* Step Container */
.step-container {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.step-container.hidden {
    display: none;
}

/* Step Progress */
.step-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 4px;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #6c757d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-number.active {
    background: #007bff;
}

.step-number.completed {
    background: #28a745;
}

/* Chatbot Configuration */
.chatbot-config {
    background: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.chatbot-config h4 {
    margin-top: 0;
    color: #333;
}

.config-form {
    display: grid;
    gap: 15px;
}

.config-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.config-section h4 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 18px;
}

.config-actions {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.configuration-actions {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.configuration-complete {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 6px;
}

.success-message h3 {
    color: #28a745;
    margin-bottom: 20px;
}

.config-summary {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    text-align: left;
}

.config-summary h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.config-summary ul {
    margin: 0;
    padding-left: 20px;
}

.config-summary li {
    margin-bottom: 5px;
}

.next-steps {
    margin-top: 20px;
}

.next-steps h4 {
    color: #333;
    margin-bottom: 10px;
}

.next-steps p {
    color: #666;
    margin-bottom: 15px;
}

/* Component Selection */
.component-selection {
    margin-top: 20px;
}

.component-category {
    margin-bottom: 25px;
}

.component-category h4 {
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.component-section {
    margin-bottom: 30px;
}

.component-section h4 {
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #007bff;
}

.component-meta {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin-top: 8px;
}

.component-selection-header {
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.component-selection-header h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.component-selection-header p {
    margin: 0 0 20px 0;
    color: #666;
}

.available-components-stats {
    margin: 15px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-item strong {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: 500;
}

.mapping-instructions {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
}

.mapping-instructions h4 {
    margin: 0 0 10px 0;
    color: #856404;
}

.mapping-instructions ul {
    margin: 0;
    padding-left: 20px;
    color: #856404;
}

.mapping-instructions li {
    margin-bottom: 5px;
}

/* Node Configuration */
.node-config {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #007bff;
}

.node-config.hidden {
    display: none;
}

.node-configuration {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.node-config-section {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #007bff;
}

.node-config-section h5 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

/* State Mapping */
.state-mapping {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.state-group h5 {
    margin-bottom: 10px;
    color: #333;
}

.state-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 8px;
}

.state-option input[type="checkbox"] {
    margin: 0;
}

.state-option.output {
    flex-direction: column;
    align-items: stretch;
}

.output-settings {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.output-settings select {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.mapping-builder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mapping-type {
    background: white;
    padding: 15px;
    border-radius: 4px;
}

.mapping-type label {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.state-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.state-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    margin: 0;
    padding: 5px;
    cursor: pointer;
}

.state-checkboxes label:hover {
    background-color: #f0f0f0;
}

.output-mappings {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.output-mapping-template,
.output-mapping-item {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.output-mapping-template select,
.output-mapping-item select {
    flex: 1;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 12px;
}

.add-output-btn,
.remove-mapping {
    padding: 5px 8px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.add-output-btn {
    background-color: #28a745;
    color: white;
}

.remove-mapping {
    background-color: #dc3545;
    color: white;
}

.output-mapping-item {
    background-color: #e3f2fd;
    border-left: 3px solid #2196f3;
}

.output-mapping-item span {
    font-size: 12px;
    color: #333;
    white-space: nowrap;
}

/* Button Groups */
.btn-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

/* Utility Classes */
.loading-components {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-message {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading-message p {
    margin: 0;
    font-style: italic;
}

.auto-mapping-helper {
    margin-top: 20px;
    padding: 15px;
    background: #e8f4fd;
    border: 1px solid #b8daff;
    border-radius: 6px;
}

.graph-config-preview {
    margin-top: 20px;
}

.graph-creation-success {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-radius: 12px;
    border: 2px solid #28a745;
}

.graph-preview-error {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f8d7da, #f1b0b7);
    border-radius: 12px;
    border: 2px solid #dc3545;
}

.error-content {
    color: #721c24;
}

/* Error and Success Messages */
.error-message {
    color: #721c24;
    background-color: #f8d7da;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #dc3545;
    margin-bottom: 15px;
}

.success-message {
    color: #155724;
    background-color: #d4edda;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #28a745;
    text-align: center;
    margin-bottom: 15px;
}

.warning-message {
    color: #856404;
    background-color: #fff3cd;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #ffc107;
    margin-bottom: 15px;
}

/* Special ID Styles for Dynamic Content */
#resultsSection {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: none;
}

#postCreationDataUploadSection {
    display: none;
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: 1px solid #bbdefb;
    border-radius: 12px;
}

/* Tab 2 Upload Section Styles */
.upload-header {
    text-align: center;
    margin-bottom: 20px;
}

.upload-success-title {
    margin: 0 0 10px 0;
    color: #1976d2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.upload-subtitle {
    margin: 0 0 15px 0;
    color: #1976d2;
}

.upload-description {
    margin: 0 0 20px 0;
    color: #424242;
    font-size: 14px;
}

.upload-navigation {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.upload-nav-button {
    padding: 10px 20px;
}

.upload-nav-button-hidden {
    display: none;
    padding: 10px 20px;
}

#newPromptError {
    display: none;
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid #fecaca;
    padding: 8px 10px;
    border-radius: 6px;
    margin-top: 6px;
}

/* Modal Styles */
.prompt-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.prompt-modal-overlay.show {
    display: flex;
}

.prompt-modal {
    background: #fff;
    width: 680px;
    max-width: 95vw;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    overflow: hidden;
}

.prompt-modal header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
}

.prompt-modal header h3 {
    margin: 0;
    font-size: 16px;
}

.prompt-modal .modal-body {
    padding: 16px 18px;
    max-height: 70vh;
    overflow: auto;
}

.prompt-modal .field {
    margin-bottom: 12px;
}

.prompt-modal label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.prompt-modal input, .prompt-modal textarea, .prompt-modal select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.prompt-modal textarea {
    resize: vertical;
    min-height: 100px;
}

.prompt-modal .modal-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 14px 18px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

/* Table Styles */
.intent-config-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.intent-config-table th, .intent-config-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.intent-config-table th {
    background-color: #f3f4f6;
    font-weight: 600;
    color: #374151;
}

.intent-config-table select {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 13px;
}

/* Node Mapping Table Styles */
.node-mapping-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

.node-mapping-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    margin: 0;
}

.node-mapping-table th, .node-mapping-table td {
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    text-align: left;
    white-space: nowrap;
}

.node-mapping-table th {
    background-color: #f1f5f9;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Optimized column widths */
.node-mapping-table th:nth-child(1), .node-mapping-table td:nth-child(1) {
    width: 20%;
    min-width: 150px;
}

.node-mapping-table th:nth-child(2), .node-mapping-table td:nth-child(2) {
    width: 18%;
    min-width: 140px;
}

.node-mapping-table th:nth-child(3), .node-mapping-table td:nth-child(3) {
    width: 8%;
    min-width: 60px;
}

.node-mapping-table th:nth-child(4), .node-mapping-table td:nth-child(4) {
    width: 25%;
    min-width: 200px;
}

.node-mapping-table th:nth-child(5), .node-mapping-table td:nth-child(5) {
    width: 20%;
    min-width: 160px;
}

.node-mapping-table th:nth-child(6), .node-mapping-table td:nth-child(6) {
    width: 9%;
    min-width: 70px;
}

/* Select dropdown styling */
.node-mapping-table select {
    width: 100%;
    min-width: 120px;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
}

/* Hybrid prompt selector styling */
.prompt-hybrid-container {
    width: 100%;
    min-width: 160px;
}

.prompt-selector {
    width: 100%;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
}

.new-prompt-form {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
    margin-top: 5px;
}

.prompt-type-input, .prompt-text-input, .prompt-examples-input {
    width: 100%;
    margin-bottom: 8px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 12px;
    font-family: inherit;
}

.prompt-text-input, .prompt-examples-input {
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.save-prompt-btn, .cancel-prompt-btn {
    padding: 6px 12px;
    font-size: 11px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
}

/* Progressive Enhancement Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* Step 4 Enhanced UI Styles */
.graph-preview-section {
    margin-bottom: 30px;
}

.preview-loading {
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.preview-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.ai-badge {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.structure-info {
    color: #6c757d;
}

/* Prompt Configuration Section Styles */
.prompt-configuration-section {
    background: white;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.prompt-configuration-section .section-header h3 {
    color: #28a745;
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: bold;
}

.prompt-configuration-section .section-header p {
    color: #6c757d;
    margin: 0;
    font-size: 14px;
}

.prompt-input-sets {
    margin-top: 20px;
}

.prompt-input-set {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.prompt-input-set:last-child {
    margin-bottom: 0;
}

.prompt-set-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.prompt-set-header h4 {
    color: #495057;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.remove-set-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.remove-set-btn:hover {
    background: #c82333;
}

.prompt-type-select {
    background: #fff;
    border: 2px solid #e9ecef;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
    transition: border-color 0.2s;
}

.prompt-type-select:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.prompt-textarea {
    background: #fff;
    border: 2px solid #e9ecef;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
    resize: vertical;
    font-family: inherit;
    line-height: 1.4;
    transition: border-color 0.2s;
}

.prompt-textarea:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.prompt-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.add-more-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.add-more-btn:hover {
    background: #5a6268;
}

.save-prompts-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.save-prompts-btn:hover {
    background: #218838;
}

.save-prompts-btn:disabled,
.add-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form styling within prompt sets */
.prompt-input-set .form-group {
    margin-bottom: 15px;
}

.prompt-input-set .form-group:last-child {
    margin-bottom: 0;
}

.prompt-input-set .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #495057;
    font-size: 13px;
}

.prompt-input-set .form-row {
    display: block;
    margin-bottom: 0;
}

/* AI Generate Button Styling */
.prompt-textarea-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.ai-generate-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    position: relative;
}

.ai-generate-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

.ai-generate-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(102, 126, 234, 0.3);
}

.ai-generate-btn:disabled {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.ai-generate-btn.loading {
    padding-right: 32px;
}

.ai-generate-btn.loading::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Additional Step 4 Styles */
.name-config, .structure-config {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.json-editor {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
}

.json-validation {
    margin-top: 8px;
    font-size: 12px;
}

.json-validation.valid {
    color: #28a745;
}

.json-validation.invalid {
    color: #dc3545;
}

.name-suggestions {
    margin-bottom: 20px;
}

.suggestions-label {
    font-weight: 600;
    color: #495057;
    margin-right: 10px;
}

.suggestion-tag {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 6px 12px;
    margin: 4px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-tag:hover {
    background: #007bff;
    color: white;
}

.confirmation-actions {
    text-align: center;
}

.confirmation-info {
    margin-bottom: 25px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.success-header {
    margin-bottom: 30px;
}

.success-details {
    margin-bottom: 30px;
}

.detail-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #28a745;
    display: inline-block;
    min-width: 300px;
}

.detail-item {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.deployment-info {
    margin-bottom: 30px;
}

.endpoint-list {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #28a745;
}

.endpoint-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.endpoint-item code {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    flex: 1;
    border: 1px solid #e9ecef;
}

.copy-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.final-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Auto-mapped Nodes Styles */
.auto-nodes-container {
    padding: 20px;
}

.auto-nodes-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.auto-nodes-header h3 {
    color: #333;
    margin-bottom: 15px;
}

.auto-nodes-header p {
    color: #666;
    margin: 0;
}

.auto-node-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s ease;
}

.auto-node-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

.node-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.mapping-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.mapping-status.mapped {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mapping-status.unmapped {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.node-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.node-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.universal-method {
    font-family: 'Courier New', monospace;
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #495057;
}

.auto-nodes-actions {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.auto-nodes-actions .btn {
    margin: 0 10px;
}

/* Utility Classes for Inline Styles */
.text-center {
    text-align: center;
}

.d-none {
    display: none;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-10 {
    gap: 10px;
}

.gap-15 {
    gap: 15px;
}

.m-0 {
    margin: 0;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-25 {
    margin-top: 25px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.ml-10 {
    margin-left: 10px;
}

.p-10-20 {
    padding: 10px 20px;
}

.p-15 {
    padding: 15px;
}

.p-20 {
    padding: 20px;
}

.p-25 {
    padding: 25px;
}

.p-40 {
    padding: 40px;
}

.pt-20 {
    padding-top: 20px;
}

/* Background Gradients */
.bg-upload-gradient {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
}

.bg-light-gray {
    background-color: #f8f9fa;
}

.bg-error-light {
    background-color: #f8d7da;
}

.bg-success-light {
    background-color: #d4edda;
}

.bg-warning-light {
    background-color: #fff3cd;
}

.bg-info-light {
    background-color: #e3f2fd;
}

/* Text Colors */
.text-primary {
    color: #1976d2;
}

.text-success {
    color: #155724;
}

.text-success-alt {
    color: #0f5132;
}

.text-error {
    color: #721c24;
}

.text-error-alt {
    color: #842029;
}

.text-warning {
    color: #856404;
}

.text-info {
    color: #0c5460;
}

.text-muted {
    color: #424242;
}

.text-gray {
    color: #666;
}

.text-blue {
    color: #007bff;
}

.text-green {
    color: #28a745;
}

/* Font Sizes */
.text-sm {
    font-size: 12px;
}

.text-md {
    font-size: 14px;
}

.text-lg {
    font-size: 18px;
}

.text-xl {
    font-size: 24px;
}

.text-2xl {
    font-size: 48px;
}

/* Border Styles */
.border-top-gray {
    border-top: 1px solid #e0e0e0;
}

.border-light {
    border: 1px solid #dee2e6;
}

.border-blue {
    border: 1px solid #bbdefb;
}

.border-left-error {
    border-left: 4px solid #dc3545;
}

.border-left-success {
    border-left: 4px solid #28a745;
}

.border-left-info {
    border-left: 4px solid #b8daff;
}

.border-radius-6 {
    border-radius: 6px;
}

.border-radius-8 {
    border-radius: 8px;
}

.border-radius-12 {
    border-radius: 12px;
}

/* Spinner Sizes */
.spinner-sm {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-md {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Special Elements */
.white-space-pre {
    white-space: pre-line;
}

.upload-icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 15px;
}

/* Responsive Design for Header */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .page-header .header-title {
        text-align: center;
    }

    .socket-status-header {
        margin-top: 0;
        min-width: 200px;
    }
}

/* Responsive Design for Tabs */
@media (max-width: 768px) {
    .tab-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .tab-item {
        justify-content: center;
        text-align: center;
    }
}

/* Responsive design for prompt section */
@media (max-width: 768px) {
    .prompt-configuration-section {
        padding: 15px;
    }

    .prompt-actions {
        flex-direction: column;
        align-items: center;
    }

    .prompt-set-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Additional Utility Classes - Replacing Tailwind */
.hidden {
    display: none;
}

.visible {
    display: block !important;
}

.visible-flex {
    display: flex !important;
}

.visible-inline-block {
    display: inline-block !important;
}

/* Dynamic styling utility classes */
.bg-success {
    background: #28a745 !important;
}

.bg-error {
    background: #f8d7da !important;
}

.bg-warning {
    background: #fff3cd !important;
}

.bg-info {
    background: #e8f4fd !important;
}

.border-success {
    border-color: #badbcc !important;
}

.border-error {
    border-color: #f5c2c7 !important;
}

.border-warning {
    border-color: #ffeaa7 !important;
}

.border-info {
    border-color: #b8daff !important;
}

.cursor-not-allowed {
    cursor: not-allowed !important;
}

.width-full {
    width: 100% !important;
}

.margin-top-30 {
    margin-top: 30px;
}

.padding-20 {
    padding: 20px;
}