 /* Custom Alert Styles */
.alert-container {
    position: fixed;
    top: 30px; /* Below your top bar */
    right: 20px;
    max-width: 400px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; /* Allow clicking through the container */
}

.mylinks:hover {
    opacity:1 !important;
    transition:320ms;
}

#contact-link:hover {
    opacity:1;
}

.custom-alert {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid;
    margin-bottom: 8px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: auto; /* Make actual alerts clickable */
    max-width: 100%;
}



.custom-alert.show {
    transform: translateX(0);
    opacity: 1;
}

.custom-alert.hide {
    transform: translateX(120%);
    opacity: 0;
}

.alert-info {
    border-left-color: var(--primary-color);
}

.alert-error {
    border-left-color: var(--error-color);
}

.alert-warn {
    border-left-color: #f0ad4e; /* Amber/orange color */
}

.alert-success {
    border-left-color: #87c9c1; /* Green color */
}

.alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.alert-icon-svg {
    width: 20px;
    height: 20px;
}

.alert-info .alert-icon-svg {
    color: var(--primary-color);
}

.alert-error .alert-icon-svg {
    color: var(--error-color);
}

.alert-warn .alert-icon-svg {
    color: #f0ad4e;
}

.alert-success .alert-icon-svg {
    color: #28a745;
}

.alert-message {
    flex-grow: 1;
    font-size: 0.95rem;
    padding-right: 8px;
}

.alert-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.alert-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333;
}

.alert-close .alert-icon-svg {
    width: 16px;
    height: 16px;
}
    /* NEW – filled‑profile visual cue */
.button.brand-filled{
  background-color: var(--primary-dark);
  color:#fff;
}

/* NEW – mobile home buttons become circular icon‑only */
/* ---------- DESKTOP default ---------- */
.option-card .option-icon{}      /* hide icons on desktop */

/* ---------- MOBILE: ≤600 px ---------- */
@media (max-width:600px), (max-height:400px){
  .option-grid{
    display:inline-block !important;            /* inline */
    justify-content:center;
    gap:1rem;
    margin-top:-60px !important;
  }
  
  .logo-container img {
  max-width:260px;
  margin:auto;
  }

  .option-card{
    width:100px;height:100px;
    padding:0;
    margin:10px;
    border-radius:50px !important;
    background:rgba(255,255,255,0.25);
    display:inline-block;
  }

  .option-card .option-title{display:none;}   /* hide text */
  .option-card .option-icon{
    display:block !important;            /* show icons */
    width:50px;height:50px;
    margin-top: 12px;
    
    
  }
}



    .icon-small{
        width:20px;
        height:20px;
    }
        /* --- Global & Basic Styles --- */
        :root {
            --primary-color: #87c9c1;
            --primary-dark: #6ba59e;
            --light-gray: #f0f4f8;
            --medium-gray: #e8edf1;
            --dark-gray: #495057;
            --text-color: #213142;
            --border-color: #d0d8e0;
            --error-color: #dc3545;
            --highlight-color: rgba(255, 255, 0, 0.4); /* Highlighter */
        }
        
       
        #bar-image { width: 100%; height: 20px; background-image: url('https://adagency.co/images/header-bar.svg'); background-color: var(--primary-color); box-sizing: border-box; position: fixed; top: 0; left: 0; z-index: 100; }

        /* --- Screen Containers --- */
        .screen { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; padding: 1rem; padding-top: 30px; /* space for bar */ box-sizing: border-box; position: absolute; top: 0; left: 0; width: 100%; opacity: 1; transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; visibility: visible;  }
        .screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; z-index: -1; }

        /* --- Component Styles --- */
        .container-image { width: 100%; max-width: 1000px; text-align: center; padding: 1rem; }
        .modal-container { max-width: 700px; width: 90%; background-color: rgba(255, 255, 255, 0.9);-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 2rem 2.5rem; border-radius: 1rem; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); text-align: center; margin-top: 10px; /* Adjust margin for fixed bar */}
 
        .subtitle { margin-bottom: 2rem; color: #666; max-width: 35rem; margin-left: auto; margin-right: auto; font-size: 1rem; line-height: 1.6; }
        .button { padding: 0.75rem 1.5rem; background-color: var(--primary-color); color: white; border: none; border-radius:50px; font-size: 1rem; font-weight: 500; cursor: pointer; transition: background-color 0.2s, box-shadow 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
        .button:hover:not(:disabled) { background-color: var(--primary-dark); box-shadow: 0 3px 6px rgba(0,0,0,0.15); }
        .button:disabled { background-color: #ccc; cursor: not-allowed; box-shadow: none; opacity: 0.7; }
        .button-secondary { background-color: #775fa5; color: #fff; font-weight: 500; box-shadow: none; }
        .button-secondary:hover:not(:disabled) { background-color: #513E7D; color: #fff; }
        .button-tertiary { background: none; border: 1px solid var(--border-color); color: var(--dark-gray); box-shadow: none; }
        .button-tertiary:hover:not(:disabled) { background-color: #f8f9fa; border-color: #adb5bd; }
        .button-icon { padding: 0.5rem; color: #444; border: none; background: transparent; border-radius: 0.5rem; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; }
        .button-icon:disabled { color: #aaa; cursor: not-allowed; background-color: transparent !important; }
        .button-icon:hover:not(:disabled) { background-color: rgba(135, 201, 193, 0.2); }
        .button-icon.active { background-color: var(--primary-color); color: white; }
        .input-field, .textarea-field, .select-field { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border-color); border-radius: 0.5rem; font-size: 11pt; margin-bottom: 1rem; box-shadow: none; background-color: #fff; }
        .input-field:focus, .textarea-field:focus, .select-field:focus { outline: none; border-color: var(--primary-color); box-shadow: inset 0 1px 2px rgba(0,0,0,0.05), 0 0 0 2px rgba(135, 201, 193, 0.3); }
        .textarea-field { height: 80px; resize: vertical; line-height: 1.5; }
       
        .form-group { margin-bottom: 1rem; } /* Grouping labels and inputs */

        /* Home Screen Specific */
        .home-screen { background:rgba(0,0,20,.4); }
        .option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; max-width: 540px; margin: 0 auto; }
        .option-card { max-width:250px; flex-direction: column; align-items: center; justify-content: center; padding: 2.5rem 1.5rem; border: none; border-radius: 1rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); background-color: rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(5px);backdrop-filter: blur(5px); cursor: pointer; transition: all 0.3s; text-align: center; }
        .option-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); background-color: rgba(255, 255, 255, 0.1); }
        .option-icon { color: var(--primary-color); margin-bottom: 1rem; height: 40px; width: 40px; }
        .option-title { font-size: 40pt;
font-weight: 700;
color: #8DD2CC;
text-align: left;line-height:43pt;}

        /* Editor Screens Common (Image & Text) */
        .editor-screen-layout { display: flex; flex-direction: column; width: 100%; height: calc(100% - 20px); /* Adjust height for fixed bar */ margin-top: 20px; }
        .text-editor-screen-layout { display: flex; flex-direction: column; width: 100%;}
        .editor-toolbar { /* Removed - using fixed toolbar now */ }
        .editor-main-area { flex-grow: 1; position: relative; /* For overlays/canvas */ overflow: hidden; display: flex; align-items: center; justify-content: center; background-color: var(--medium-gray); padding: 1rem; }
        .editor-main-area-text { flex-grow: 1; position: relative; /* For overlays/canvas */ display: flex; align-items: center; justify-content: center; background-color: var(--medium-gray); padding: 1rem; }
        .editor-bottom-bar { flex-shrink: 0; padding: 1rem; background-color: rgba(255, 255, 255, 0.8); border-top: 1px solid rgba(200, 200, 200, 0.5); -webkit-backdrop-filter: blur(10px);backdrop-filter: blur(10px); z-index: 10; position: relative; }

        /* Fixed Toolbar (Used by both editors) */
        .toolbar { position: fixed; right: 1rem; top: 30px; z-index: 30; background-color: rgba(255, 255, 255, 0.8); -webkit-backdrop-filter: blur(10px);backdrop-filter: blur(12px); border-radius: 0.75rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); padding: 0.25rem 0.5rem; border: 1px solid rgba(200, 200, 200, 0.5); display: flex; align-items: center; gap: 0.25rem; }

        /* Image Editor Specific */
        .editor-screen { background: var(--light-gray); justify-content: flex-start; padding: 0; /* Remove padding, layout handles it */ }
        .menu-container { position: relative; }
        .menu-dropdown { position: absolute; top: calc(100% + 5px); /* Add slight gap */ right: 0; width: 200px; background-color: white; border-radius: 0.5rem; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); border: 1px solid var(--border-color); z-index: 40; /* Higher than toolbar */ overflow: hidden; font-size: 0.9rem; }
        .menu-dropdown.hidden { display: none; } /* Use display none for better hiding */
        .canvas-container { width: 100%; height: 100%; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; cursor: grab; }
        .canvas-wrapper { position: relative; display: flex; align-items: center; justify-content: center; overflow: visible; }
        .canvas-transform { transform-origin: center; transition: transform 0.1s linear; /* Faster transform */ position: relative; }
        .canvas { display: block; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); background-color: white; border-radius: 4px; border: 1px solid var(--border-color); touch-action: none; position: relative; z-index: 1; }
        .highlight-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; display: block; border-radius: 4px; }
        .move-cursor { cursor: grab; }
        .move-cursor-grabbing { cursor: grabbing; }
    .highlighter-cursor {
  cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2Utd2lkdGg9IjIiLz4KPC9zdmc+") 12 12, auto;
}

        .prompt-bar {position:fixed;bottom:0px;left:0px;right:0px; }
        .prompt-container { position: relative; display: flex; align-items: center; width: 100%; max-width: 72rem; margin: 0 auto; gap: 0.75rem; }
        .image-preview-container { position: relative; flex-shrink: 0; /* Prevent shrinking */ }
        .image-tool { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-color); background-color: #fff; overflow: hidden; cursor: pointer; transition: all 0.2s; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
        .image-tool:hover { border-color: var(--primary-color); }
        .image-tool-icon { color: var(--dark-gray); }
        .image-preview {  height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 0.2s; position: absolute; top:0; left: 0;width: 38px;height: 38px;border-radius: 50%;border: 1px solid var(--border-color);} /* Position absolute to overlay icon */
        .has-image .image-preview { opacity: 1; }
        .has-image .image-tool-icon { display: none; }
        .image-tooltip { position: absolute; bottom: calc(100% + 8px); /* Position above */ left: 50%; transform: translateX(-50%); background-color: white; border-radius: 0.25rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); padding: 0.25rem; border: 1px solid var(--border-color); z-index: 20; display: none; width: 60px; height: 60px; /* Fixed size for consistency */ }
        #image-tooltip-preview { width: 100%; height: 100%; object-fit: cover; border-radius: 0.1rem;}
        .image-preview-container:hover .image-tooltip { display: block; }
        .prompt-input-wrapper { position: relative; flex-grow: 1; }
        .prompt-input { margin-bottom: 0px !important;border-radius: 50px !important;width: 100%; padding: 0.75rem 3.5rem 0.75rem 1.1rem; /* Slightly more padding */ font-size: 0.95rem; color: var(--text-color); background-color: rgba(255, 255, 255, 0.9); border: 1px solid #ccc; border-radius: 20px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05); transition: all 0.3s; line-height: 1.4; /* Match button height better */}
        .prompt-input:focus { outline: none; border-color: var(--primary-color); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 2px rgba(135, 201, 193, 0.3); }
        .prompt-input::placeholder { color: #aaa; }
        .prompt-actions { position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; /* FIX: Center icon */ height: 100%; }
        .prompt-action-button { padding: 0.5rem;
border: none;
border-radius: 50px;
cursor: pointer;
transition: all 0.2s;
display: inline-flex;
align-items: center;
justify-content: center;
color:#fff;
background: var(--primary-color); }
        .prompt-action-button:disabled { color: #ccc; cursor: not-allowed; background: none !important; }
        .prompt-action-button:hover:not(:disabled) { transform: scale(1.1); }
        .send-button { color: white; background-color: var(--primary-color); width: 32px; height: 32px; padding: 0; /* Reset padding for specific size */ } /* FIX: Center icon */
        .send-button:hover:not(:disabled) { background-color: var(--primary-dark); }

        /* Modal Styles (Shared) */
        .modal-overlay { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(5px);backdrop-filter: blur(5px); animation: fadeIn 0.2s ease-out; }
        .modal-overlay.hidden { display: none; }
        .modal-image { position:relative; width: 100%; max-width: 550px; padding: 2rem; margin: 1rem; background-color: #fff; -webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px); border-radius: 1rem; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); animation: slideUp 0.3s ease-out; border: 1px solid rgba(200, 200, 200, 0.5); max-height: 80vh; overflow-y: auto;box-sizing:border-box; }
        .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid #eee; }
        .modal-title { font-size: 1.25rem; font-weight: 500; color: var(--text-color); }
        .modal-close { padding: 0.25rem; color: #999; background: transparent; border: none; border-radius: 50%; cursor: pointer; transition: color 0.2s; display: inline-flex; }
        .modal-close:hover { color: #555; }
        .modal-section { margin-bottom: 1.2rem; }
        .modal-section-title { font-size: 0.875rem; font-weight: 500; color: #666; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
        .modal-section-content { margin-top: 0.5rem; }
        .modal-item { display: flex; align-items: flex-start; margin-bottom: 0.75rem; font-size: 0.9rem; color: #555; line-height: 1.5; }
        .modal-item-icon { margin-right: 0.75rem; color: var(--primary-color); flex-shrink: 0; margin-top: 2px; }
        .modal-item-text { flex: 1; }
        .keyboard-shortcut { display: inline-block; background-color: rgba(135, 201, 193, 0.15); color: var(--primary-dark); border-radius: 0.5rem; padding: 0.25rem 0.5rem; margin-right: 0.5rem; font-family: monospace; font-size: 0.8rem; border: 1px solid rgba(135, 201, 193, 0.3); }
        .modal-button { /* Using .button class now */ }

        /* Format Modal Specific */
        .format-modal { max-width: 800px; }
       
   
       
        .format-button-editor { width: 157px;
text-align: center;
display: inline-grid;
margin: 15px 15px;
background: #fff;
border-radius: 8px;
border: 2px #fff solid;
padding: 10px; }
        .format-button { width: 200px;
text-align: center;
display: inline-grid;
margin: 15px 15px;
background: #fff;
border-radius: 8px;
border: 2px #fff solid; }
        .format-button:hover:not(:disabled) {  transform: translateY(-3px); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08); border-color: rgba(0, 0, 0, 0.7); }
        .format-button:disabled { opacity: 0.6; cursor: not-allowed; background-color: #f8f8f8; }
        .format-button:disabled .coming-soon { display: inline; }
        .format-icon { margin-right: 0.75rem; color: var(--primary-color); flex-shrink: 0; }
        .format-name {
            margin-top:6px;
        }
        .format-info { font-size:9pt; display: flex; flex-direction: column; align-items: flex-start; flex-grow: 1; }
        .format-dimensions { font-size: 0.75rem; color: #777; }
        .coming-soon { font-size: 0.7rem; color: #a0a0a0; margin-left: 5px; font-style: italic; display: none; }
        .custom-size-container { padding: 1rem; background-color: white; border: 1px solid #e0e0e0; border-radius: 0.6rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); }
        .custom-size-inputs { display: flex; gap: 1rem; margin-bottom: 1rem; }
        .custom-input-group { flex: 1; }
        .custom-label { font-size: 0.8rem; font-weight: 500; color: var(--text-color); margin-bottom: 0.4rem; display: block; }
        .custom-input { width: 100%; padding: 0.5rem; border: 1px solid var(--border-color); border-radius: 0.4rem; font-size: 0.9rem; }
        .custom-input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(135, 201, 193, 0.2); }
        .custom-create-button { width: 100%; margin-top: 0.5rem; }

        /* Asset Upload Screen */
        .asset-upload-screen { background: #e5eaef; text-align: center; }
        .asset-upload-container { /* Using .modal-container */ }
        .drop-zone { border: 2px dashed #ccc; border-radius: 1rem; padding: 2rem; text-align: center; margin-bottom: 1.5rem; background-color: rgba(255, 255, 255, 0.5); transition: all 0.3s; cursor: pointer; }
        .drop-zone.dragover { border-color: var(--primary-color); background-color: rgba(135, 201, 193, 0.1); }
        .drop-zone p { font-weight: 500; margin-bottom: 0.5rem; color: var(--dark-gray); }
        .drop-zone span[data-lucide] { color: var(--primary-color); margin: 0.5rem 0; display: inline-block; }
        .drop-zone span:not([data-lucide]) { color: #888; font-size: 0.9rem; display: block; }
        .uploaded-files-list { list-style: none; margin-bottom: 1.5rem; font-size: 0.9rem; max-height: 150px; overflow-y: auto; padding-right: 5px; }
        .uploaded-files-list li { display: flex; justify-content: space-between; align-items: center; background-color: rgba(255, 255, 255, 0.5); padding: 0.5rem 0.75rem; border-radius: 0.5rem; margin-bottom: 0.5rem; }
        .uploaded-files-list li span { flex-grow: 1; margin-right: 0.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .uploaded-files-list button { background: none; border: none; color: #999; cursor: pointer; display: inline-flex; padding: 0.25rem; }
        .uploaded-files-list button:hover { color: var(--error-color); }
        .asset-format-display { font-size: 0.9rem; color: #666; margin-bottom: 1.5rem; font-weight: 500; }

        /* Sketch Selection Screen */
        .sketch-selection-screen { background: #e5eaef; }
        .sketch-selection-container { /* Using .modal-container */ max-width: 900px; }
        .sketch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
        .sketch-thumbnail { position: relative; width: 100%;min-height:200px; border-radius: 0.75rem; overflow: hidden; background-color: white; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08); transition: all 0.2s; cursor: pointer; display: flex; align-items: center; justify-content: center; border: 2px solid transparent; }
        .sketch-thumbnail.error-thumb { background-color: rgba(220, 53, 69, 0.05); border: 1px dashed var(--error-color); }
        .sketch-thumbnail:not(.error-thumb):hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); border-color: var(--primary-color); }
        .sketch-thumbnail img { width: 100%; height: auto%; object-fit: cover; }
        .sketch-thumbnail .loading-spinner { border: 4px solid #f3f3f3; border-top: 4px solid var(--primary-color); border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; }
        .sketch-thumbnail .error-message { color: var(--error-color); font-size: 0.85rem; text-align: center; padding: 1rem; }
        .sketch-actions { display: flex; justify-content: center; gap: 1rem; }
        .sketch-button { min-width: 120px; }

        /* Text Brief Screen */
        .text-brief-screen { background: #e5eaef; }
        .text-brief-container { /* Using .modal-container */ }
        .text-brief-actions { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; }

        /* Text Editor Screen */
        .text-editor-screen { background: var(--medium-gray); padding: 0; /* Remove padding, layout handles it */ }
        .text-editor-main-area { /* Using .editor-main-area */ padding: 1rem; background-color: none; /* White background for text area */ }
        .text-canvas-wrapper { /* Similar to image canvas wrapper */ position: relative; display: flex; align-items: center; justify-content: center; overflow: visible; width: 100%; height: 100%; }
        .text-canvas-transform { /* Similar to image canvas transform */ transform-origin: center; transition: transform 0.1s linear; position: relative; }
        .text-canvas {
            padding: 50px;
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border: 1px solid var(--border-color);
            margin-top:27px;
            box-sizing: border-box;
        }
        .text-content {
            width: 100%;
            max-width: 800px; /* Limit content width */
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            text-align: left;
            outline: none; /* Remove focus outline if needed */
            margin: 0 auto; /* Center content */
        }

        /* Menu Items (Shared style for both menus) */
        .menu-item {
            display: flex;
            align-items: center;
            gap: 0.75rem; /* Increase gap */
            padding: 0.75rem 1rem;
            color: var(--text-color);
            background: none;
            border: none;
            width: 100%;
            text-align: left;
            cursor: pointer;
            transition: background-color 0.2s;
            font-size: 0.9rem; /* Match dropdown font size */
        }
        .menu-item:hover { background-color: rgba(135, 201, 193, 0.1); }
        .menu-item-icon { color: var(--primary-color); flex-shrink: 0; width: 16px; height: 16px; } /* Fixed icon size */
        .menu-divider { height: 1px; background-color: var(--border-color); margin: 0.25rem 0; }

        /* Text History (Example - needs JS interaction) */
        .text-history-sidebar { /* Optional: Add a sidebar for history */ }
        .text-history-item { margin-bottom: 0.5rem; border-left: 3px solid transparent; padding-left: 0.5rem; cursor: pointer; transition: all 0.2s; }
        .text-history-item:hover { border-left-color: var(--primary-color); background-color: rgba(135, 201, 193, 0.05); }
        .text-history-item.active { border-left-color: var(--primary-color); font-weight: 500; }

        /* Brand Profile Modal */
        .brand-profile-modal { max-width: 600px; } /* Wider modal */
        .brand-profile-modal .form-group { margin-bottom: 1.2rem; }
        .brand-profile-modal label { font-weight: 500; }
        .brand-profile-modal .input-field,
        .brand-profile-modal .textarea-field { margin-bottom: 0; /* Remove default margin */ } /* Let form-group handle spacing */
        .brand-profile-modal .textarea-field { min-height: 60px; }
        .brand-profile-modal .modal-actions { display: flex; justify-content: flex-end; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #eee; }

        /* Loading Overlay */
        .loading-overlay { position: fixed; inset: 0; background-color: rgba(255, 255, 255, 0.8); -webkit-backdrop-filter: blur(60px);backdrop-filter: blur(6px); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 99999; text-align: center; color: #444; opacity: 0; transition: opacity 0.3s ease-in-out; pointer-events: none; }
        .loading-overlay:not(.hidden) { opacity: 1; pointer-events: auto; }
        /* Style for the new SVG loading indicator */
.loading-overlay .loading-svg {
    width: 120px; /* Adjust width as needed */
    height: 120px; /* Adjust height as needed */
    margin-bottom: 1.2rem; /* Keep the spacing consistent */
    /* No border, animation, or border-radius needed as the SVG handles its appearance */
}
        .loading-overlay p { font-size: 1.1rem; font-weight: 500; }

        /* Animations */
        @keyframes canvas-pulse { 0% { opacity: 1; } 50% { opacity: 0.8; } 100% { opacity: 1; } }
        @keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(0.95); } 100% { opacity: 1; transform: scale(1); } }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        @keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

        /* Add pulse animation class */
        .animate-pulse { animation: pulse 0.3s ease-in-out; }

.hero-video {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100vw;
height: 100vh;
object-fit: cover;
z-index:-1;
}
User Agent Style Sheetvideo {
object-fit: contain;
content: normal;
}



.logo-container {
  position: fixed; /* or absolute, depending on your layout */
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 350px;
  pointer-events: none; /* Optional: lets clicks pass through */
}

.logo-container img:hover {
   opacity: 1 !important; 
}

.logo-container img {
  width: 100%;
  opacity: 0.8;
  height: auto;
  display: block;
}
