/**
 * NexaPortal - Cons Editor Styles
 * 
 * @file: cons_editor.css
 * @description: Cons Editor stílusok és zóna trigger pontok CSS
 * @author: Zöllei S. Márk <mark.zollei@gmail.com>
 * @version: 1.3.0
 * @since: 2025-09-28
 * 
 * @license Proprietary - All Rights Reserved
 * @copyright 2025 Zöllei S. Márk
 * 
 * Discord: NEXA
 * Discord Server: https://discord.gg/PmSjr8VH2A
 */

/* Konszignáció Tervező CSS */

body {
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.cons-editor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
}

.cons-header {
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    padding: 15px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Top Controls */
.cons-top-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cons-top-controls .btn-group {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cons-top-controls .btn {
    border-color: #dee2e6;
    color: #495057;
    background: #fff;
}

.cons-top-controls .btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}

.cons-top-controls .btn:active,
.cons-top-controls .btn.active {
    background: #e9ecef;
    border-color: #6c757d;
    color: #495057;
}

.zoom-slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.zoom-slider-container input[type="range"] {
    width: 100px;
    margin-bottom: 0.25rem;
}

.zoom-slider-container small {
    font-size: 0.75rem;
    color: #6c757d;
}

.cons-header h1 {
    margin: 0;
    font-size: 1.5rem;
    color: #495057;
    display: flex;
    align-items: center;
}

.cons-header h1 i {
    margin-right: 10px;
    color: #007bff;
}

.cons-canvas-area {
    flex: 1;
    position: relative;
    background: #fff;
    overflow: hidden;
}

.cons-canvas {
    width: 100%;
    height: 100%;
    background: #fff;
    border: none;
    display: block;
}

.cons-controls {
    position: fixed;
    top: 80px;
    left: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    min-width: 200px;
}


.btn-cons {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-cons:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.btn-cons:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.btn-cons.btn-success {
    background: #28a745;
}

.btn-cons.btn-success:hover {
    background: #1e7e34;
}

.btn-cons.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-cons.btn-warning:hover {
    background: #e0a800;
}

.btn-cons.btn-danger {
    background: #dc3545;
}

.btn-cons.btn-danger:hover {
    background: #c82333;
}

/* Wall Controls */
.wall-controls {
    border-top: 1px solid #dee2e6;
    padding-top: 15px;
}

.wall-controls h6 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.wall-controls .btn {
    flex: 1;
    font-size: 0.75rem;
    padding: 6px 8px;
}

/* WALL Zone Styles */
.zone-rect[data-zone-type="wall"] {
    fill: #8B4513 !important; /* Sötétbarna alap szín */
    stroke: #654321 !important; /* Sötétebb barna keret */
    stroke-width: 2px !important;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.zone-rect[data-zone-type="wall"]:hover {
    fill: #A0522D !important; /* Világosabb barna hover */
    stroke: #8B4513 !important;
    stroke-width: 3px !important;
    opacity: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.zone-rect[data-zone-type="wall"].selected {
    fill: #CD853F !important; /* Kiválasztott szín */
    stroke: #8B4513 !important;
    stroke-width: 4px !important;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

/* WALL Zone Pattern Styles */
.wall-zone-pattern {
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.wall-zone-pattern:hover {
    opacity: 0.8;
}

.wall-zone-pattern line {
    stroke: #654321;
    stroke-width: 1px;
    opacity: 0.7;
}

/* WALL Zone Edit Triggers */
.zone-edit-trigger[data-zone-type="wall"] {
    fill: #8B4513;
    stroke: #654321;
    stroke-width: 2px;
}

.zone-edit-trigger[data-zone-type="wall"]:hover {
    fill: #A0522D;
    stroke: #8B4513;
    stroke-width: 3px;
}

/* WALL Zone Dimension Labels */
.zone-dimension[data-zone-type="wall"] {
    fill: #654321;
    font-weight: bold;
    font-size: 12px;
}

/* WALL Zone Animation */
@keyframes wallZonePulse {
    0% { opacity: 0.9; }
    50% { opacity: 0.7; }
    100% { opacity: 0.9; }
}

.zone-rect[data-zone-type="wall"].pulse {
    animation: wallZonePulse 2s infinite;
}

/* WALL Zone Context Menu */
.wall-zone-context-menu {
    background: #8B4513;
    border: 2px solid #654321;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.wall-zone-context-menu .context-item {
    color: #fff;
    padding: 8px 12px;
    border-bottom: 1px solid #654321;
}

.wall-zone-context-menu .context-item:hover {
    background: #A0522D;
}

.wall-zone-context-menu .context-item:last-child {
    border-bottom: none;
}

/* Modal Styles */
.cons-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.cons-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin: 10% auto;
    width: 500px;
    max-width: 90%;
    position: relative;
}

.cons-modal-header {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.cons-modal-header h5 {
    margin: 0;
    color: #495057;
    font-weight: 600;
}

.cons-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
}

.cons-modal-close:hover {
    color: #495057;
}

.cons-form-group {
    margin-bottom: 20px;
}

.cons-form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #495057;
}

.cons-form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

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

.cons-form-control.is-invalid {
    border-color: #dc3545;
}

.cons-invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
}

.cons-modal-footer {
    border-top: 1px solid #dee2e6;
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-cons-modal {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cons-modal.btn-primary {
    background: #007bff;
    color: white;
}

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

.btn-cons-modal.btn-secondary {
    background: #6c757d;
    color: white;
}

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

/* Canvas Grid */
.canvas-grid {
    opacity: 0.1;
    stroke: #000;
    stroke-width: 0.5;
}

.canvas-grid.major {
    opacity: 0.2;
    stroke-width: 1;
}

/* Zoom Controls - Moved to top header */
.zoom-level-display {
    text-align: center;
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
    margin-bottom: 10px;
}

.zoom-slider {
    width: 100%;
    margin: 10px 0;
}

.zoom-slider input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.zoom-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.zoom-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* PAN Controls */
.pan-controls {
    border-top: 1px solid #dee2e6;
    padding-top: 10px;
    margin-top: 10px;
}

.pan-mode {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.pan-mode input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #007bff;
}

.pan-mode label {
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
    user-select: none;
}

/* Canvas States */
.cons-canvas.pan-mode {
    cursor: grab;
}

.cons-canvas.pan-mode:active {
    cursor: grabbing;
}

/* Káva elemek - csak megjelenítés */
.kava-element {
    cursor: default;
}

.kava-element:hover rect {
    stroke-width: 2;
    stroke: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cons-controls {
        position: fixed;
        bottom: 20px;
        left: 20px;
        top: auto;
        right: auto;
        width: calc(100% - 40px);
    }



    .cons-modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 20px;
    }

    .cons-header h1 {
        font-size: 1.2rem;
    }

    .zoom-buttons {
        flex-direction: column;
    }

    .zoom-buttons .btn-cons {
        width: 100%;
        margin: 2px 0;
    }
}

@media (max-width: 480px) {
    .cons-controls {
        padding: 10px;
    }


    .btn-cons {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Animációk */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cons-modal-content {
    animation: fadeIn 0.3s ease;
}

.btn-cons {
    animation: fadeIn 0.2s ease;
}

/* Loading állapot */
.cons-loading {
    opacity: 0.6;
    pointer-events: none;
}

.cons-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #007bff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Draggable Panels */
.draggable-panel {
    position: absolute;
    z-index: 1000;
    user-select: none;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    cursor: move;
}

.panel-header h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.panel-controls {
    display: flex;
    gap: 5px;
}

.btn-panel-toggle {
    background: none;
    border: none;
    padding: 2px 6px;
    cursor: pointer;
    color: #666;
    font-size: 0.8rem;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.btn-panel-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.panel-content {
    transition: all 0.3s ease;
    overflow: hidden;
}

.panel-content.collapsed {
    max-height: 0;
    padding: 0;
    opacity: 0;
}

.panel-content.expanded {
    max-height: 500px;
    opacity: 1;
}

/* Panel Positions */
#controlsPanel {
    top: 20px;
    left: 20px;
}

#zoomPanel {
    top: 20px;
    right: 20px;
}

#infoPanel {
    bottom: 20px;
    right: 20px;
}

/* Responsive Design for Panels */
/* Pattern Trigger stílusok */
.pattern-triggers {
    pointer-events: all;
}

.pattern-trigger {
    cursor: pointer;
    transition: all 0.2s ease;
}

.pattern-trigger:hover .trigger-outer {
    fill: rgba(0, 123, 255, 0.2);
    stroke: rgba(0, 123, 255, 0.6);
    stroke-width: 3;
    r: 50;
}

.pattern-trigger:hover .trigger-inner {
    fill: #0056b3;
    r: 25;
}

.pattern-trigger:hover .trigger-center {
    r: 7;
}

.pattern-trigger:active .trigger-outer {
    fill: rgba(0, 123, 255, 0.3);
    stroke: #007bff;
    stroke-width: 3;
}

.pattern-trigger:active .trigger-inner {
    fill: #004085;
}

@media (max-width: 768px) {
    .draggable-panel {
        position: relative;
        width: 100%;
        margin-bottom: 10px;
    }
    
    #controlsPanel,
    #zoomPanel,
    #infoPanel {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
}

/* Hamburger Menu in Header */
.hamburger-btn-header {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.hamburger-btn-header:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100vh;
    background: #fff;
    border-right: 1px solid #dee2e6;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.side-menu.open {
    left: 0;
}

.side-menu-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.side-menu-header h5 {
    margin: 0;
    font-weight: 600;
    color: #495057;
}

.btn-close-side-menu {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 16px;
}

.btn-close-side-menu:hover {
    background: #e9ecef;
    color: #495057;
}

.side-menu-content {
    padding: 20px;
}

/* Side Menu Overlay */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.side-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Canvas Info Styles */
.canvas-info {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
}

.canvas-info h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 12px;
}

.info-item {
    margin-bottom: 8px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item small {
    display: block;
    color: #6c757d;
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.info-item .fw-bold {
    color: #212529;
    font-size: 0.9rem;
}

/* Üveg Kombináció Stílusok */
.glass-combination-section {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.glass-combination-section h5 {
    color: #495057;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.glass-combination-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.glass-combination-form .form-group {
    margin-bottom: 0;
}

.glass-combination-form label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
    display: block;
}

.glass-combination-form select,
.glass-combination-form input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

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

.glass-combinations-header {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px 15px;
}

.glass-combinations-header h6 {
    margin: 0;
    color: #495057;
}

.glass-combinations-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
}

.glass-combination-item {
    border-bottom: 1px solid #f1f3f4;
    padding: 12px 15px;
    transition: background-color 0.15s ease-in-out;
}

.glass-combination-item:last-child {
    border-bottom: none;
}

.glass-combination-item:hover {
    background-color: #f8f9fa;
}

.glass-combination-item .form-check {
    margin: 0;
}

.glass-combination-item .form-check-input {
    margin-top: 0.25rem;
}

.glass-combination-item .form-check-label {
    width: 100%;
    cursor: pointer;
    margin: 0;
}

.combination-display {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.combination-text {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.combination-details {
    color: #6c757d;
    font-size: 12px;
}

.selected-combination-info {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 12px 15px;
    margin-top: 15px;
}

.selected-combination-info h6 {
    margin: 0 0 8px 0;
    color: #155724;
}

.combination-summary {
    color: #155724;
}

.combination-summary .fw-bold {
    font-size: 14px;
    margin-bottom: 4px;
}

/* Üveg Kombináció Modal Stílusok */
.glass-combination-modal {
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.glass-combination-modal .cons-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    max-height: calc(90vh - 120px); /* Subtract header and footer height */
}

.glass-combination-modal .cons-modal-footer {
    flex-shrink: 0;
    margin-top: auto;
    border-top: 1px solid #dee2e6;
    padding: 15px 20px;
    background: #f8f9fa;
}

.glass-combination-modal .glass-combination-form {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.glass-combination-modal .glass-combinations-list {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
}

.glass-combination-modal .glass-combinations-header {
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 10;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0;
    border-radius: 6px 6px 0 0;
}

.glass-combination-modal .selected-combination-info {
    position: sticky;
    bottom: 0;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 12px 15px;
    margin-top: 15px;
    z-index: 10;
}

/* Quick Glass Setup Menu Stílusok */
.quick-glass-setup {
    display: flex;
    align-items: center;
}

.quick-glass-setup .form-group {
    margin-bottom: 0;
}

.quick-glass-setup .form-control-sm {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}

.quick-glass-setup .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.quick-glass-setup .alert-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    margin-bottom: 0;
}

.quick-glass-setup .suggestions {
    font-size: 0.7rem;
}

.quick-glass-setup .suggestion-item {
    padding: 0.125rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.quick-glass-setup .suggestion-item:last-child {
    border-bottom: none;
}

/* Alert Toast Stílusok */
.alert-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 300px;
    max-width: 500px;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 0.875rem;
    animation: slideUpIn 0.3s ease-out;
}

.alert-toast.fade-out {
    animation: slideDownOut 0.3s ease-in forwards;
}

@keyframes slideUpIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideDownOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

.alert-toast .toast-content {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.alert-toast .toast-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-toast .toast-body {
    flex: 1;
}

.alert-toast .toast-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.alert-toast .toast-suggestions {
    font-size: 0.75rem;
    margin-top: 6px;
}

.alert-toast .suggestion-item {
    padding: 2px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.alert-toast .suggestion-item:last-child {
    border-bottom: none;
}

/* TECH Availability Toast Stílusok */
.alert-toast.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-toast.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.alert-toast .toast-message {
    font-size: 0.875rem;
    line-height: 1.4;
}

/* TECH Option Disabled Stílusok */
#zoneType option[value="tech"]:disabled {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

#zoneType option[value="tech"][style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Fejléc Üveg Info Stílusok */
.glass-info-header {
    display: flex;
    align-items: center;
}

.glass-info-header .btn {
    border-color: #17a2b8;
    color: #17a2b8;
    background: #fff;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

.glass-info-header .btn:hover {
    background: #17a2b8;
    border-color: #17a2b8;
    color: #fff;
}

.glass-info-header .dropdown-menu {
    min-width: 300px;
    max-width: 400px;
}

.glass-info-header .dropdown-item-text {
    font-size: 0.875rem;
    color: #6c757d;
    padding: 0.5rem 1rem;
    white-space: normal;
    word-wrap: break-word;
}

.glass-info-header .dropdown-header {
    font-size: 0.75rem;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive stílusok az üveg kombináció modal-hoz */
@media (max-width: 768px) {
    .glass-combination-modal {
        width: 95%;
        max-height: 95vh;
    }
    
    .glass-combination-modal .cons-modal-body {
        max-height: calc(95vh - 100px);
        padding: 15px;
    }
    
    .glass-combination-modal .glass-combinations-list {
        max-height: 200px;
    }
    
    .glass-combination-modal .glass-combination-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* Quick Glass Setup responsive */
    .quick-glass-setup {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .quick-glass-setup .form-control-sm {
        min-width: 100px !important;
        width: auto !important;
    }
    
    .quick-glass-setup .form-control-sm[style*="width: 80px"] {
        width: 60px !important;
    }
}

/* Zóna Trigger Pontok */
.zone-trigger {
    cursor: pointer;
    transition: all 0.2s ease;
}

/* CSS hover eltávolítva - JavaScript-ben kezeljük */

/* Zóna Téglalapok */
.zone-rect {
    cursor: pointer;
    transition: all 0.2s ease;
}

.zone-rect:hover {
    filter: brightness(1.1);
    stroke-width: 2 !important;
}

/* BLENDE Téglalapok */
.blende-rect {
    cursor: pointer;
    transition: all 0.2s ease;
}

.blende-rect:hover {
    filter: brightness(1.2);
    stroke-width: 2 !important;
}

/* Zóna Dimenziók */
.zone-dimension {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    pointer-events: none;
}

.zone-dimension-line {
    pointer-events: none;
}

/* TECH magasság opció gombok stílusai */
.tech-height-option {
    margin-top: 5px;
    font-size: 12px;
    padding: 4px 8px;
}

.tech-height-option:hover {
    background-color: #f8f9fa;
    border-color: #6c757d;
}

/* DOOR magasság opció gombok stílusai */
.door-height-option {
    margin-top: 5px;
    font-size: 12px;
    padding: 4px 8px;
}

.door-height-option:hover {
    background-color: #f8f9fa;
    border-color: #6c757d;
}

/* Zone edit trigger pontok stílusai */
.edit-trigger {
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-trigger:hover {
    filter: drop-shadow(0 0 4px rgba(255, 136, 0, 0.6));
}

.edit-trigger-outer {
    transition: all 0.2s ease;
}

.edit-trigger-inner {
    transition: all 0.2s ease;
}

.edit-trigger-icon {
    transition: all 0.2s ease;
}

/* Debug View Styles */
.debug-content {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    max-height: 400px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.debug-json {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.debug-section {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
}

.debug-section h6 {
    color: #495057;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
}

.debug-section p {
    margin: 2px 0;
    font-size: 11px;
    color: #6c757d;
}

.debug-section .badge {
    font-size: 10px;
    margin-right: 5px;
}

/* TECH Profil Stílusok */
.tech-profile-section {
    pointer-events: none;
}

.tech-profile-top {
    fill: #8B4513 !important; /* Sötétbarna szín TECH top profilhoz */
    stroke: #654321 !important; /* Sötétebb barna keret */
    stroke-width: 1px !important;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.tech-profile-left {
    fill: #8B4513 !important; /* Sötétbarna szín TECH bal profilhoz */
    stroke: #654321 !important; /* Sötétebb barna keret */
    stroke-width: 1px !important;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.tech-profile-right {
    fill: #8B4513 !important; /* Sötétbarna szín TECH jobb profilhoz */
    stroke: #654321 !important; /* Sötétebb barna keret */
    stroke-width: 1px !important;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.tech-profile-bottom {
    fill: #8B4513 !important; /* Sötétbarna szín TECH alsó profilhoz */
    stroke: #654321 !important; /* Sötétebb barna keret */
    stroke-width: 1px !important;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* TECH Offset Keret */
.tech-offset-frame {
    fill: #FFFFFF !important; /* Fehér kitöltés */
    stroke: #000000 !important; /* Fekete keret */
    stroke-width: 2px !important;
    stroke-dasharray: 5,5 !important; /* Szaggatott vonal */
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* TECH Panel */
.tech-panel {
    fill: #8B4513 !important; /* Barna szín TECH panelhoz */
    stroke: #654321 !important; /* Sötétebb barna keret */
    stroke-width: 1px !important;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.tech-profile-top:hover,
.tech-profile-left:hover,
.tech-profile-right:hover,
.tech-profile-bottom:hover,
.tech-offset-frame:hover,
.tech-panel:hover {
    opacity: 1 !important;
    stroke-width: 2px !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* TECH Profil Animáció */
@keyframes techProfilePulse {
    0% { opacity: 0.8; }
    50% { opacity: 0.6; }
    100% { opacity: 0.8; }
}

.tech-profile-section.pulse .tech-profile-top,
.tech-profile-section.pulse .tech-profile-left,
.tech-profile-section.pulse .tech-profile-right,
.tech-profile-section.pulse .tech-profile-bottom,
.tech-profile-section.pulse .tech-offset-frame,
.tech-profile-section.pulse .tech-panel {
    animation: techProfilePulse 2s infinite;
}
