/* Global styles for Email Signature Generator */

/* Container max-width */
.container {
    max-width: 1400px !important;
}

/* Consistent spacing */
.main-content {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Increased navigation spacing - 20% more padding */
.navbar-nav .nav-link {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
}

/* Code editor syntax highlighting support */
.code-editor {
    background: #2d2d2d;
    color: #f8f8f2;
    border: 1px solid #444;
    border-radius: 5px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
    padding: 15px;
    min-height: 400px;
    tab-size: 2;
}

/* Prevent horizontal scroll in code editor */
.code-editor {
    overflow-x: auto;
    white-space: pre;
}

/* Variable tags styling */
.variable-tag {
    background: #e7f3ff;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    font-weight: bold;
    color: #0d6efd;
    font-size: 0.9em;
}

/* Version badge in footer */
.version-badge {
    font-size: 0.75rem;
    color: #6c757d;
    margin-left: 0.5rem;
}

/* Preview box styling */
.preview-box {
    border: 1px solid #dee2e6;
    padding: 20px;
    background-color: #fff;
    min-height: 200px;
    border-radius: 5px;
    max-height: 600px;
    overflow-y: auto;
}

/* CodeMirror editor styling */
.CodeMirror {
    height: auto;
    min-height: 700px;
    max-height: 1200px;
    font-size: 14px;
    border-radius: 5px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
    border: 1px solid #444;
    resize: vertical;
}

.CodeMirror-scroll {
    min-height: 700px;
    max-height: 1200px;
    overflow-y: auto !important;
    overflow-x: auto;
}

.text-small {
    font-size: 19px;
    margin-left: 10px;
    color: rgb(75, 75, 75);
}
