Files
infstarweb/css/pages/facilities.css

1249 lines
24 KiB
CSS

/* Page-Specific Styles for Facilities */
.facilities-hero {
margin-top: 44px; /* Navbar height */
padding: 100px 20px 60px;
text-align: center;
background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
color: #1d1d1f;
}
.facilities-hero h1 {
font-size: 48px;
font-weight: 700;
margin-bottom: 16px;
letter-spacing: -0.02em;
}
.hero-subtitle {
font-size: 20px;
font-weight: 400;
opacity: 0.8;
}
/* Container */
.facilities-container {
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
}
/* Controls - Redesigned */
.controls-section {
background: var(--card-bg);
padding: 30px;
border-radius: var(--radius-large);
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
margin-bottom: 40px;
}
.controls-header-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
flex-wrap: wrap;
gap: 20px;
}
.section-title {
font-size: 24px;
font-weight: 600;
color: var(--text-primary);
margin: 0;
}
.search-box {
position: relative;
max-width: 400px;
width: 100%;
}
.search-box i {
position: absolute;
left: 16px;
top: 50%;
transform: translateY(-50%);
color: var(--text-secondary);
}
.search-box input {
width: 100%;
padding: 10px 16px 10px 44px;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 12px;
font-size: 15px;
background: #f5f5f7;
transition: var(--transition);
}
.search-box input:focus {
outline: none;
background: #fff;
border-color: var(--accent-color);
box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}
.filters-wrapper {
display: flex;
flex-direction: column;
gap: 16px;
border-top: 1px solid rgba(0,0,0,0.05);
padding-top: 20px;
}
.filter-group {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 12px;
}
.filter-label {
font-weight: 600;
font-size: 14px;
color: var(--text-secondary);
min-width: 70px; /* Align labels */
display: flex;
align-items: center;
gap: 6px;
}
.filter-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.filter-tag {
background: #fff;
border: 1px solid rgba(0,0,0,0.1);
padding: 6px 14px;
border-radius: 18px;
font-size: 13px;
color: var(--text-secondary);
cursor: pointer;
transition: var(--transition);
display: flex;
align-items: center;
gap: 6px;
}
.filter-tag:hover {
background: #f5f5f7;
color: var(--text-primary);
border-color: rgba(0,0,0,0.2);
}
.filter-tag.active {
background: var(--text-primary); /* Use black/dark for active like Apple tags usually do, or accent */
color: white;
border-color: var(--text-primary);
}
/* Facilities Grid & Cards */
.facilities-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 24px;
}
.facility-card {
background: var(--card-bg);
border-radius: var(--radius-medium);
padding: 24px;
box-shadow: 0 2px 12px rgba(0,0,0,0.04); /* Softer shadow */
transition: var(--transition);
cursor: pointer;
display: flex;
flex-direction: column;
justify-content: space-between;
border: 1px solid rgba(0,0,0,0.03);
}
.facility-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.card-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 12px;
}
.card-title {
font-size: 18px;
font-weight: 600;
color: var(--text-primary);
flex: 1;
margin-right: 10px;
line-height: 1.3;
}
/* Status Pill in Card */
.status-indicator-badge {
display: flex;
align-items: center;
gap: 6px;
font-size: 11px;
font-weight: 600;
padding: 4px 8px;
border-radius: 12px;
white-space: nowrap;
}
.status-indicator-badge.status-online { background-color: #e8fceb; color: #15803d; }
.status-indicator-badge.status-maintenance { background-color: #fff8d6; color: #b45309; }
.status-indicator-badge.status-offline { background-color: #feebeb; color: #b91c1c; }
.status-dot {
width: 6px;
height: 6px;
border-radius: 50%;
}
.status-online .status-dot { background-color: #22c55e; }
.status-maintenance .status-dot { background-color: #f59e0b; }
.status-offline .status-dot { background-color: #ef4444; }
.card-intro {
font-size: 14px;
color: var(--text-secondary);
margin-bottom: 24px;
line-height: 1.5;
flex-grow: 1;
}
.card-meta {
display: flex;
gap: 8px;
flex-wrap: wrap;
border-top: 1px solid #f0f0f0;
padding-top: 16px;
}
.meta-tag {
font-size: 11px;
background: #f5f5f7;
padding: 4px 10px;
border-radius: 6px;
color: var(--text-secondary);
font-weight: 500;
}
/* Modal */
.modal {
display: none;
position: fixed;
z-index: 2000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.facility-modal-content {
background-color: #fff;
margin: 40px auto;
border-radius: var(--radius-large);
max-width: 720px;
width: 90%;
padding: 0; /* Remove padding to handle header separately */
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
position: relative;
max-height: 90vh;
overflow-y: auto;
display: flex;
flex-direction: column;
}
/* Custom Scrollbar for Modal */
.facility-modal-content::-webkit-scrollbar {
width: 6px;
}
.facility-modal-content::-webkit-scrollbar-track {
background: transparent;
margin: 10px 0;
}
.facility-modal-content::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.15);
border-radius: 10px;
}
.facility-modal-content::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.25);
}
.close-modal {
position: absolute;
top: 20px;
right: 24px;
font-size: 24px;
color: var(--text-secondary);
cursor: pointer;
transition: 0.2s;
z-index: 10;
background: rgba(255,255,255,0.8);
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
}
.close-modal:hover {
background: #f0f0f0;
color: var(--text-primary);
}
.modal-header {
padding: 40px 40px 24px;
background: linear-gradient(to bottom, #fff, #fafafa);
border-bottom: 1px solid rgba(0,0,0,0.05);
}
.modal-title {
font-size: 32px;
font-weight: 700;
margin-bottom: 16px;
line-height: 1.2;
}
.modal-badges-row {
display: flex;
justify-content: space-between;
align-items: center;
gap: 16px;
flex-wrap: wrap;
}
.modal-badges {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.large-badge {
padding: 6px 14px;
border-radius: 8px;
font-size: 13px;
font-weight: 600;
display: flex;
align-items: center;
gap: 6px;
}
.badge-status-online { background: #e8fceb; color: #15803d; }
.badge-status-maintenance { background: #fff8d6; color: #b45309; }
.badge-status-offline { background: #feebeb; color: #b91c1c; }
.badge-type { background: #e0f2fe; color: #0369a1; }
.modal-body {
padding: 30px 40px 50px;
}
.modal-section {
margin-top: 32px;
}
.modal-section-title {
font-size: 16px;
font-weight: 700;
margin-bottom: 16px;
color: var(--text-primary);
display: flex;
align-items: center;
gap: 10px;
border-left: 4px solid var(--accent-color);
padding-left: 12px;
}
.modal-section-title i {
color: var(--accent-color);
width: 20px;
text-align: center;
}
.modal-intro {
font-size: 18px;
line-height: 1.6;
color: var(--text-primary);
margin-bottom: 30px;
font-weight: 400;
}
.map-link {
display: inline-flex;
align-items: center;
gap: 6px;
color: #fff;
background: var(--accent-color);
padding: 6px 16px;
border-radius: 20px;
text-decoration: none;
font-weight: 500;
font-size: 13px;
margin-left: 12px;
transition: 0.2s;
}
.map-link:hover {
background: #005bb5;
transform: translateY(-1px);
}
.contributors-list {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.contributor-tag {
display: flex;
align-items: center;
background: #ffffff;
border: 1px solid #eee;
padding: 6px 14px;
border-radius: 30px;
font-size: 14px;
color: var(--text-primary);
box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.contributor-tag img {
width: 24px;
height: 24px;
border-radius: 50%;
margin-right: 10px;
background: #eee;
}
/* Instructions & Notes */
.instruction-content, .notes-content {
background: #f9f9fa;
padding: 24px;
border-radius: 16px;
border: 1px solid rgba(0,0,0,0.03);
}
.instruction-content p, .notes-content p {
font-size: 15px;
margin-bottom: 12px;
color: var(--text-primary);
line-height: 1.7;
}
.instruction-content p:last-child, .notes-content p:last-child {
margin-bottom: 0;
}
.instruction-content img, .notes-content img {
max-width: 100%;
border-radius: 12px;
margin: 12px 0 20px;
border: 1px solid rgba(0,0,0,0.05);
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
/* Video Embed */
.video-embed-wrapper {
position: relative;
width: 100%;
padding-bottom: 56.25%; /* 16:9 aspect ratio */
margin: 12px 0 20px;
border-radius: 12px;
overflow: hidden;
background: #000;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.video-embed-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}
.no-results-message {
text-align: center;
padding: 60px;
color: var(--text-secondary);
font-size: 16px;
background: var(--card-bg);
border-radius: var(--radius-medium);
}
.is-hidden {
display: none !important;
}
@media (max-width: 768px) {
.facilities-hero h1 {
font-size: 32px;
}
.controls-header-row {
flex-direction: column;
align-items: stretch;
}
.search-box {
max-width: 100%;
}
.filter-label {
min-width: auto;
margin-bottom: 4px;
}
.facility-modal-content {
margin: 0;
width: 100%;
height: 100%;
max-height: 100%;
border-radius: 0;
}
.close-modal {
top: 15px;
right: 15px;
}
.modal-body {
padding: 24px 24px 80px;
}
.modal-header {
padding: 60px 24px 20px;
}
}
/* ========== Editor Modal ========== */
.title-with-action {
display: flex;
align-items: center;
gap: 16px;
}
.btn-add-facility {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 18px;
background: var(--accent-color);
color: #fff;
border: none;
border-radius: 20px;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
white-space: nowrap;
}
.btn-add-facility:hover {
background: #005bb5;
transform: translateY(-1px);
}
.btn-edit-facility {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 16px;
background: transparent;
color: var(--accent-color);
border: 1.5px solid var(--accent-color);
border-radius: 18px;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
white-space: nowrap;
flex-shrink: 0;
}
.btn-edit-facility:hover {
background: var(--accent-color);
color: #fff;
}
/* Editor Modal Layout */
.editor-modal-content {
background-color: #fff;
margin: 20px auto;
border-radius: var(--radius-large);
max-width: 1280px;
width: 95%;
padding: 0;
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
position: relative;
max-height: calc(100vh - 40px);
overflow: hidden;
display: flex;
flex-direction: column;
}
.close-editor-modal,
.close-json-modal {
position: absolute;
top: 16px;
right: 20px;
font-size: 24px;
color: var(--text-secondary);
cursor: pointer;
transition: 0.2s;
z-index: 10;
background: rgba(255,255,255,0.9);
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
}
.close-editor-modal:hover,
.close-json-modal:hover {
background: #f0f0f0;
color: var(--text-primary);
}
.editor-modal-header {
padding: 20px 28px;
border-bottom: 1px solid rgba(0,0,0,0.08);
background: linear-gradient(to bottom, #fff, #fafafa);
border-radius: var(--radius-large) var(--radius-large) 0 0;
flex-shrink: 0;
}
.editor-modal-header h3 {
font-size: 22px;
font-weight: 700;
display: flex;
align-items: center;
gap: 10px;
}
.editor-layout {
display: flex;
flex: 1;
overflow: hidden;
min-height: 0;
}
.editor-preview {
flex: 0 0 45%;
display: flex;
flex-direction: column;
border-right: 1px solid rgba(0,0,0,0.08);
background: #f5f5f7;
}
.editor-panel-title {
font-size: 12px;
font-weight: 700;
color: var(--text-secondary);
padding: 14px 24px;
border-bottom: 1px solid rgba(0,0,0,0.05);
display: flex;
align-items: center;
gap: 8px;
text-transform: uppercase;
letter-spacing: 0.6px;
flex-shrink: 0;
background: rgba(255,255,255,0.6);
}
.editor-preview-content {
flex: 1;
overflow-y: auto;
padding: 20px;
}
.editor-preview-content::-webkit-scrollbar,
.editor-form-scroll::-webkit-scrollbar {
width: 5px;
}
.editor-preview-content::-webkit-scrollbar-track,
.editor-form-scroll::-webkit-scrollbar-track {
background: transparent;
}
.editor-preview-content::-webkit-scrollbar-thumb,
.editor-form-scroll::-webkit-scrollbar-thumb {
background: rgba(0,0,0,0.12);
border-radius: 10px;
}
/* Preview Card */
.preview-facility {
background: #fff;
border-radius: 16px;
box-shadow: 0 2px 12px rgba(0,0,0,0.06);
overflow: hidden;
}
.preview-header {
padding: 24px 24px 16px;
background: linear-gradient(to bottom, #fff, #fafafa);
border-bottom: 1px solid rgba(0,0,0,0.05);
}
.preview-title {
font-size: 22px;
font-weight: 700;
margin-bottom: 12px;
line-height: 1.2;
}
.preview-body {
padding: 20px 24px 24px;
}
.preview-body .modal-section {
margin-top: 20px;
}
.preview-body .modal-section-title {
font-size: 14px;
}
.preview-intro {
font-size: 15px;
line-height: 1.6;
color: var(--text-primary);
margin-bottom: 20px;
}
.text-secondary {
color: var(--text-secondary);
}
/* Editor Form */
.editor-form {
flex: 0 0 55%;
display: flex;
flex-direction: column;
min-width: 0;
}
.editor-form-scroll {
flex: 1;
overflow-y: auto;
padding: 24px 28px 40px;
}
.form-group {
margin-bottom: 22px;
}
.form-group > label {
display: block;
font-size: 12px;
font-weight: 700;
color: var(--text-secondary);
margin-bottom: 8px;
text-transform: uppercase;
letter-spacing: 0.4px;
}
.form-group input[type="text"],
.form-group input[type="number"],
.form-group textarea {
width: 100%;
padding: 12px 16px;
border: 1.5px solid rgba(0,0,0,0.1);
border-radius: 12px;
font-size: 14px;
font-family: inherit;
background-color: #f9f9fa;
transition: all 0.2s ease;
color: var(--text-primary);
box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--accent-color);
background-color: #fff;
box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}
/* Custom Select Dropdown */
.custom-select {
position: relative;
width: 100%;
user-select: none;
font-size: 14px;
}
.custom-select-trigger {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding: 12px 16px;
border: 1.5px solid rgba(0,0,0,0.1);
border-radius: 12px;
background-color: #f9f9fa;
color: var(--text-primary);
cursor: pointer;
transition: all 0.2s ease;
box-sizing: border-box;
}
.custom-select-trigger i {
color: var(--text-secondary);
font-size: 12px;
transition: transform 0.3s ease;
}
.custom-select:hover .custom-select-trigger {
background-color: #fff;
border-color: rgba(0,0,0,0.2);
}
.custom-select.open .custom-select-trigger {
border-color: var(--accent-color);
background-color: #fff;
box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}
.custom-select.open .custom-select-trigger i {
transform: rotate(180deg);
}
.custom-select-options {
position: absolute;
top: calc(100% + 8px);
left: 0;
right: 0;
background: #fff;
border-radius: 12px;
box-shadow: 0 10px 40px rgba(0,0,0,0.15);
border: 1px solid rgba(0,0,0,0.08);
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
z-index: 100;
padding: 8px;
}
.custom-select.open .custom-select-options {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.custom-option {
padding: 10px 14px;
border-radius: 8px;
cursor: pointer;
transition: background 0.2s, color 0.2s;
color: var(--text-primary);
margin-bottom: 2px;
}
.custom-option:last-child {
margin-bottom: 0;
}
.custom-option:hover {
background: #f5f5f7;
}
.custom-option.selected {
background: #e0f2fe;
color: #0369a1;
font-weight: 600;
}
.form-group textarea {
resize: vertical;
min-height: 60px;
}
.form-row {
display: flex;
gap: 14px;
}
.form-row .form-group {
flex: 1;
}
/* Tags Input */
.tags-input-wrapper {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
padding: 8px 12px;
border: 1.5px solid rgba(0,0,0,0.1);
border-radius: 12px;
background: #f9f9fa;
transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
cursor: text;
}
.tags-input-wrapper:focus-within {
border-color: var(--accent-color);
background: #fff;
box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}
.tags-list {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.editor-tag {
display: inline-flex;
align-items: center;
gap: 6px;
background: var(--accent-color);
color: #fff;
padding: 4px 10px;
border-radius: 14px;
font-size: 12px;
font-weight: 600;
}
.editor-tag-remove {
cursor: pointer;
opacity: 0.7;
transition: 0.2s;
font-size: 10px;
}
.editor-tag-remove:hover {
opacity: 1;
}
.tags-input-wrapper input {
border: none !important;
background: transparent !important;
padding: 4px 0 !important;
font-size: 13px;
flex: 1;
min-width: 140px;
box-shadow: none !important;
}
.tags-input-wrapper input:focus {
outline: none;
}
/* Sortable List */
.sortable-list {
min-height: 8px;
margin-bottom: 10px;
}
.sortable-item {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 10px 12px;
margin-bottom: 8px;
background: #fff;
border: 1.5px solid rgba(0,0,0,0.08);
border-radius: 12px;
transition: box-shadow 0.2s, border-color 0.2s, opacity 0.2s;
}
.sortable-item:last-child {
margin-bottom: 0;
}
.sortable-item:hover {
border-color: rgba(0,0,0,0.15);
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.sortable-item.dragging {
opacity: 0.4;
border-color: var(--accent-color);
}
.sortable-item.drag-over {
border-color: var(--accent-color);
box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.15);
}
.drag-handle {
cursor: grab;
color: var(--text-secondary);
padding: 6px 2px;
font-size: 14px;
opacity: 0.35;
transition: 0.2s;
flex-shrink: 0;
}
.drag-handle:active {
cursor: grabbing;
}
.sortable-item:hover .drag-handle {
opacity: 0.7;
}
.item-type-badge {
font-size: 10px;
font-weight: 700;
padding: 3px 8px;
border-radius: 6px;
white-space: nowrap;
flex-shrink: 0;
margin-top: 6px;
text-transform: uppercase;
letter-spacing: 0.3px;
}
.badge-text {
background: #e8f5e9;
color: #2e7d32;
}
.badge-image {
background: #e3f2fd;
color: #1565c0;
}
.badge-video {
background: #fce4ec;
color: #c62828;
}
.sortable-item .item-content {
flex: 1;
border: 1px solid rgba(0,0,0,0.06) !important;
border-radius: 8px !important;
padding: 8px 10px !important;
font-size: 13px !important;
background: #fafafa !important;
min-height: unset;
font-family: inherit;
resize: vertical;
}
.sortable-item .item-content:focus {
border-color: var(--accent-color) !important;
background: #fff !important;
box-shadow: none !important;
}
.remove-item-btn {
background: none;
border: none;
color: #ccc;
cursor: pointer;
padding: 6px;
border-radius: 8px;
transition: 0.2s;
flex-shrink: 0;
margin-top: 3px;
font-size: 13px;
}
.remove-item-btn:hover {
color: #ef4444;
background: #fef2f2;
}
.add-item-row {
display: flex;
gap: 8px;
}
.add-item-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 14px;
background: #f5f5f7;
border: 1.5px dashed rgba(0,0,0,0.12);
border-radius: 10px;
font-size: 12px;
font-weight: 600;
color: var(--text-secondary);
cursor: pointer;
transition: var(--transition);
}
.add-item-btn:hover {
border-color: var(--accent-color);
color: var(--accent-color);
background: #f0f7ff;
}
/* Editor Actions */
.editor-actions {
margin-top: 28px;
padding-top: 20px;
border-top: 1px solid rgba(0,0,0,0.08);
display: flex;
justify-content: flex-end;
}
.btn-save-facility {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 28px;
background: var(--brand-green);
color: #fff;
border: none;
border-radius: 14px;
font-size: 15px;
font-weight: 700;
cursor: pointer;
transition: var(--transition);
}
.btn-save-facility:hover {
background: #2db84d;
transform: translateY(-1px);
box-shadow: 0 4px 16px rgba(52, 199, 89, 0.3);
}
/* JSON Output Modal */
.json-output-content {
background-color: #fff;
margin: 60px auto;
border-radius: var(--radius-large);
max-width: 640px;
width: 90%;
padding: 36px;
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
position: relative;
}
.json-output-content h3 {
font-size: 20px;
font-weight: 700;
margin-bottom: 8px;
display: flex;
align-items: center;
gap: 10px;
}
.json-output-hint {
font-size: 14px;
color: var(--text-secondary);
margin-bottom: 20px;
line-height: 1.5;
}
#json-output {
width: 100%;
height: 300px;
padding: 16px;
border: 1.5px solid rgba(0,0,0,0.1);
border-radius: 12px;
font-family: 'Courier New', Courier, monospace;
font-size: 12px;
background: #f5f5f7;
color: var(--text-primary);
resize: vertical;
margin-bottom: 16px;
}
#json-output:focus {
outline: none;
border-color: var(--accent-color);
}
.btn-copy-json {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 24px;
background: var(--accent-color);
color: #fff;
border: none;
border-radius: 12px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
width: 100%;
justify-content: center;
}
.btn-copy-json:hover {
background: #005bb5;
}
/* ========== Editor Responsive ========== */
@media (max-width: 900px) {
.editor-modal-content {
margin: 0;
width: 100%;
max-width: 100%;
max-height: 100%;
height: 100%;
border-radius: 0;
}
.editor-layout {
flex-direction: column;
}
.editor-preview {
flex: none;
max-height: 35vh;
border-right: none;
border-bottom: 1px solid rgba(0,0,0,0.08);
}
.editor-form {
flex: 1;
min-height: 0;
}
.form-row {
flex-direction: column;
gap: 0;
}
.close-editor-modal {
top: 12px;
right: 14px;
}
}
@media (max-width: 768px) {
.title-with-action {
flex-wrap: wrap;
gap: 10px;
}
.json-output-content {
margin: 0;
width: 100%;
height: 100%;
max-height: 100%;
border-radius: 0;
}
.editor-modal-header {
padding: 16px 20px;
}
.editor-form-scroll {
padding: 20px;
}
}