

:root {
    --primary: #6366f1; 
    --primary-hover: #4f46e5; 

    /* Primary - Indigo/Violet */
    --primary-gradient: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
    --primary-gradient-hover: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);

    --accent: #10b981;
    
    /* Accent - Emerald/Teal (Success) */
    --accent-gradient: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    --accent-gradient-hover: linear-gradient(135deg, #10b981 0%, #059669 100%);

    /* Danger - Rose/Red */
    --danger: linear-gradient(135deg, #fb7185 0%, #f43f5e 100%);
    --danger-hover: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    
    --bg-dark: #0f172a;
    --sidebar-bg: #1e293b;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-highlighted: #ef8aff;
    --border: #334155;
    
    /*
    --danger: #ef4444;
    */
    
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-main);
            display: flex;
            height: 100vh;
            overflow: hidden;
        }


        aside {
            width: 320px;
            background-color: var(--sidebar-bg);
            border-right: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            transition: margin-left 0.3s ease, transform 0.3s ease; /* Added margin-left transition */
            z-index: 100;
        }

        /* This class will handle the desktop collapse */
        aside.collapsed {
            margin-left: -320px;
        }


        .sidebar-header {
            padding: 15px 15px 5px 15px;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: space-between; /* Pushes brand to left, actions to right */
            position: relative;
        }

        .brand-wrapper {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .title-brand-wrapper {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: -25px;
            margin-bottom: 20px;
        }

        .title-brand-wrapper-version {
            margin-top:15px;
        }


        .logo {
            font-size: 1.5rem;
            font-weight: 800;
            background: linear-gradient(to right, #818cf8, #c084fc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

	 .logo-img{
		width:60px;
	 }

    .versionLabel{
        margin-top:5px;
    }

        .vault-list {
            flex: 1;
            overflow-y: auto;
            padding: 1rem;
        }

        /* Style for the datalist dropdown behavior */
        #vaultGroup::-webkit-calendar-picker-indicator {
            filter: invert(1); /* Makes the dropdown arrow white to match your theme */
            opacity: 0.5;
            cursor: pointer;
            transition: var(--transition);
        }

        #vaultGroup::-webkit-calendar-picker-indicator:hover {
            opacity: 1;
        }


        .group-container {
            margin-bottom: 0.5rem;
        }

        .group-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem;
            cursor: pointer;
            border-radius: 6px;
            transition: var(--transition);
        }

        .group-header:hover { background: rgba(255, 255, 255, 0.05); }

        .group-title {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--text-highlighted);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .group-items {
            margin-left: 0.5rem;
            border-left: 1px solid var(--border);
            padding-left: 0.5rem;
        }

        .group-items.hidden { display: none; }

        .credential-item {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid transparent;
            border-radius: 8px;
            padding: 0.6rem;
            margin-bottom: 0.4rem;
            cursor: pointer;
            transition: var(--transition);
        }

        .credential-item:hover {
            border-color: var(--primary);
            background: rgba(99, 102, 241, 0.1);
        }

        .credential-item.selected {
            border-color: var(--accent) !important;
            background: rgba(16, 185, 129, 0.15) !important;
            box-shadow: inset 0 0 10px rgba(16, 185, 129, 0.1);
        }

        .credential-content { flex: 1; overflow: hidden; }

        .credential-item .user {
            font-size: 0.85rem;
            font-weight: 600;
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .credential-item .pass-masked {
            font-size: 0.7rem;
            color: var(--text-muted);
            font-family: monospace;
        }


        /* This groups the buttons so 'space-between' pushes them as one unit to the right */
        .header-actions {
            display: flex;
            align-items: center;
            gap: 12px; /* Controls the space between the Hide button and the ? button */
        }

        /* Remove the inline margin-left from your button since the gap handles it now */
        .header-actions .btn-outline {
            padding: 8px 12px;
        }


        /* Main Content */
        main {
            flex: 1;
            overflow-y: auto;
            padding: 2rem;
            max-width: 1100px;
            margin: 0 auto;
            width: 100%;
        }

        .view-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.2rem;
        }

        .card {
            background-color: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 1.5rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            position: relative;
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        h2 { font-size: 1.25rem; }

        .help-btn {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--border);
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            cursor: pointer;
            transition: var(--transition);
            border: none;
        }

        .help-aes-key{
            right: -315px;
            position: absolute;
            top: -10px;

            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--border);
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            cursor: pointer;
            transition: var(--transition);
            border: none;
        }

        .help-aes-key:hover{background: var(--primary); color: white; }

        .help-btn:hover { background: var(--primary); color: white; }


        .form-group {
            margin-bottom: 1.25rem;
            position: relative;
        }


        #genLength{
           width:100%;
        }

        .input-with-action {
            display: flex;
            gap: 0.5rem;
        }

        label {
            display: block;
            font-size: 0.875rem;
            color: var(--text-muted);
            margin-bottom: 0.4rem;
        }

        input[type="text"], 
        input[type="number"], 
        input[type="password"],
        select,
        textarea {
            width: 100%;
            background: var(--bg-dark);
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 0.75rem;
            color: white;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.2s;
        }

        input:focus { border-color: var(--primary); }

        .suggestions {
            position: absolute;
            top: 100%; /* Directly below the input */
            left: 0;
            right: 0;
            background: var(--sidebar-bg);
            border: 1px solid var(--primary);
            border-top: none;
            border-radius: 0 0 6px 6px;
            z-index: 999;
            max-height: 200px;
            overflow-y: auto;
            display: none;
            box-shadow: 0 10px 15px rgba(0,0,0,0.5);
        }

        .suggestion-item {
            padding: 10px 15px;
            cursor: pointer;
            font-size: 0.9rem;
            color: var(--text-main);
            border-bottom: 1px solid var(--border);
        }

        .suggestion-item:last-child {
            border-bottom: none;
        }

        .suggestion-item:hover {
            background: var(--primary);
            color: white;
        }


        .checkbox-grid {
            display: flex;
            flex-direction: row; /* Align side-by-side */
            flex-wrap: wrap;     /* Allow them to wrap to a second row on mobile */
            gap: 20px;           /* Increased gap for breathing room between toggles */
            margin-top: 15px;
            align-items: center;
        }

        .checkbox-item {
            display: flex;
            align-items: center;
            gap: 10px;
            white-space: nowrap; /* Prevents the label text from wrapping mid-sentence */
        }

        /* Ensure the labels use your unselectable style from earlier */
        .checkbox-item .switch-label {
            user-select: none;
            -webkit-user-select: none;
            margin: 0; /* Reset margins for better alignment */
            color: var(--text-main); /* Make these slightly brighter than muted text */
        }


        button {
            cursor: pointer;
            border: none;
            border-radius: 6px;
            padding: 0.75rem 1rem;
            font-weight: 600;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        button:hover {
            filter: brightness(1.3);
        }

        button:active {
            transition: filter 0.1s ease;
            filter: brightness(0.8);
        }

        .btn-primary { background: var(--primary-gradient); color: white; width: 100%; }

        .btn-primary:hover { background: var(--primary-gradient-hover); }


        .btn-helpandguide { 
            background: var(--primary-gradient);
            color: white; 
            width:110px !important;
            padding: 8px 10px 8px 10px;
            top: -5px;
            position: relative;
        }

        .btn-helpandguide:hover {background: var(--primary-gradient); }


        .btn-help { 
            background: #4338ca;
            color: white; 
            border: 1px solid #6366f1;
        }

        .btn-help:hover { background: #3730a3; }


        .tabs {
            display: flex;
            align-items: center; /* Vertical alignment */
            gap: 10px;           /* Space between the Password and PIN tabs */
            width: 100%;         /* Ensure container spans full width */
            position: relative;
        }


        .btn-help-pinandpassword {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--border);
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            
            margin-left: auto;   /* This is the "magic" line that pushes it to the right */
            cursor: pointer;
            /* keep your existing help-btn styles (circle, border, etc) */
        }
        .btn-help-pinandpassword:hover {  background: var(--primary); color: white;}


        .btn-help-quickadd {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--border);
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            
            margin-left: auto;   /* This is the "magic" line that pushes it to the right */
            margin-top: -9px;
            cursor: pointer;
            /* keep your existing help-btn styles (circle, border, etc) */
        }

        .btn-help-quickadd:hover {  background: var(--primary); color: white;}


        .btn-outline { 
            background: transparent; 
            border: 1px solid var(--border); 
            color: var(--text-main);
        }
        .btn-outline:hover { background: rgba(255, 255, 255, 0.05); }


        .btn-danger { background: var(--danger); color: white; }
        .btn-danger:hover { filter: brightness(1.2); }

        .button-container{
            display: flex; 
            gap: 10px;
            justify-content: space-between;
        }

        .btn-save, .btn-update, .btn-clear-form , .btn-generate, .btn-generate-small{
            flex: 1;
            padding: 10px;
            border-radius: 5px;
        }

        .btn-save {
            background: var(--primary-gradient);
            color: white;
        }

        .btn-update {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-main);
        }

        .btn-generate {
            background: var(--accent-gradient);
            border: 1px solid var(--border);
            color: var(--text-main);
            width:100%;
        }

        .btn-generate-small {
            background: var(--accent-gradient);
            border: 1px solid var(--border);
            color: var(--text-main);
            padding: 10px 20px 10px 20px;
        }

        .new-key-btn{
            background: var(--primary-gradient); color: white;
            top: -1px;
            position: relative;
        }

        .new-key-btn:hover{
            filter: brightness(1.4);
        }

        .new-key-btn:active{
            transition: filter 0.1s ease;
            filter: brightness(0.8);
        }

        #quickAddToggle {
            accent-color: var(--primary); /* Uses your main theme color for the checkmark */
            width: 16px;
            height: 16px;
        }

        #quickAddToggle + label:hover {
            color: var(--text-main) !important;
        }


        .quick-add-container {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 1.5rem 0;
            padding: 10px 10px 3px 10px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 8px;
            border: 1px solid var(--border);
        }


        .switch-label {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 500;
            margin-top: -3px;

            /* Prevent text selection */
            user-select: none;
            -webkit-user-select: none; /* Safari support */
            -moz-user-select: none;    /* Firefox support */
            -ms-user-select: none;     /* Legacy IE/Edge support */
        }

        /* The Switch Housing */
        .switch {
            position: relative;
            display: inline-block;
            width: 38px;
            height: 20px;
        }

        /* Hide default checkbox */
        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        /* The Slider Track */
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: #333;
            transition: .3s;
            border-radius: 20px;
        }

        /* The Round Knob */
        .slider:before {
            position: absolute;
            content: "";
            height: 14px;
            width: 14px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .3s;
            border-radius: 50%;
        }

        /* On-State Colors */
        input:checked + .slider {
            background-color: var(--primary); /* Uses your primary theme color */
        }

        input:focus + .slider {
            box-shadow: 0 0 1px var(--primary);
        }

        /* Knob Movement */
        input:checked + .slider:before {
            transform: translateX(18px);
        }


        .disabled-opacity {
            opacity: 0.4;
            cursor: not-allowed;
            pointer-events: none;
        }


        /* Remove your old absolute logic and replace with this */
        .btn-tutorial, 
        .btn-close-vault {
            position: static; /* Removes absolute positioning */
            padding: 5px 10px !important;
            font-size: 0.8rem;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-close-vault{
            background: transparent; 
            border: 1px solid var(--border); 
            color: var(--text-main);
        }

        .btn-close-vault:hover{
            background: var(--primary-gradient); 
        }

        .btn-tutorial {
            background: rgba(99, 102, 241, 0.1);
            border-color: var(--primary);
            color: var(--primary);
        }

        .btn-tutorial:hover {border-color: var(--primary);  background: rgba(255, 255, 255, 0.05); color: var(--text-main);}

        .btn-clear-form {
            background: var(--danger);
            border: 1px solid var(--border);
            color: var(--text-main);
        }

        .clear-input-btn {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: transparent;
            border: none;
            color: var(--text-muted);
            font-size: 1.5rem;
            line-height: 1;
            cursor: pointer;
            padding: 0 5px;
            display: none; /* Hidden by default, shown via JS */
            transition: var(--transition);
            z-index: 10;
        }

        .clear-input-btn:hover {
            color: var(--danger);
        }

        /* Optional: Show the button only when input is not empty */
        #masterKey:not(:placeholder-shown) + .clear-input-btn {
            display: block;
        }


        .result-area {
            margin-top: 1.5rem;
            padding: 1rem;
            background: var(--bg-dark);
            border-radius: 8px;
            text-align: center;
            position: relative;
            cursor: pointer;
        }

        .generated-password {
            font-family: 'Courier New', Courier, monospace;
            font-size: 1.25rem;
            letter-spacing: 2px;
            word-break: break-all;
            color: var(--accent) !important;
        }

        .copy-hint {
            font-size: 0.7rem;
            color: var(--text-muted);
            margin-top: 0.5rem;
        }

        .toolbar {
            display: flex;
            gap: 1rem;
            margin-top: 1.2rem;
            margin-bottom: 2rem;
            padding: 1.5rem;
            background: var(--sidebar-bg);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            align-items: flex-start;
            flex-direction: column;
            transition: var(--transition);
        }

        .toolbar.error-highlight {
            border-color: var(--danger);
            box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
            animation: pulse-border 1.5s infinite;
        }

        .error-highlight {
            border-color: #ef4444 !important; /* Tailwind-style red */
            box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
            animation: shake 0.2s ease-in-out 0s 2;
        }

        @keyframes shake {
            0% { transform: translateX(0); }
            25% { transform: translateX(3px); }
            50% { transform: translateX(-3px); }
            75% { transform: translateX(3px); }
            100% { transform: translateX(0); }
        }


        .btn-highlight-pulse {
            background: var(--primary) !important;
            color: white !important;
            border-color: var(--primary) !important;
            animation: button-pulse 1.5s infinite;
        }

        details summary::-webkit-details-marker {
            color: var(--primary);
        }
        details[open] summary {
            margin-bottom: 0.5rem;
        }

        @keyframes button-pulse {
            0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
            70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
            100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
        }

        /* Ensure focus is visible */
        input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
        }



        @keyframes pulse-border {
            0% { border-color: var(--danger); }
            50% { border-color: #7f1d1d; }
            100% { border-color: var(--danger); }
        }

        .toolbar-inner {
            display: flex;
            gap: 1rem;
            width: 100%;
            align-items: flex-end;
        }

        .tabs {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .tab {
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            background: var(--border);
            cursor: pointer;
        }

        .tab.active {
            background: var(--primary);
        }

        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(4px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            padding: 20px;
        }

        .modal {
            background: var(--sidebar-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            max-width: 500px;
            width: 100%;
            padding: 2rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }

        .modal h3 { margin-bottom: 1rem; color: var(--primary); }
        .modal p { margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.5; color: var(--text-main); }

        .modal-actions {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .toast {
            position: fixed;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--accent-gradient);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.9rem;
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
            z-index: 3000;
            box-shadow: 0 10px 15px rgba(0,0,0,0.3);
        }

        .toast.error {
            background: var(--danger);
        }

        .vault-actions {
            display: flex;
            gap: 10px;
            padding: 10px;
            border-top: 1px solid var(--border);
            background: rgba(0,0,0,0.1);
        }

        .mobile-toggle {
            position: fixed;
            bottom: 0.8rem;
            right: 0.8rem;
            z-index: 1000;
            background: var(--primary-gradient);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            color: white;
        }


        #masterKeyContainer{
            
        }


        /* The dark overlay with a spotlight */
        #tutorial-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.1);
            z-index: 9999;
            pointer-events: none; /* Allows clicking through if needed, though we'll manage flow */
            display: none;
            transition: all 0.3s ease;
        }

        /* The actual spotlight hole */
        .spotlight {
            position: absolute;
            box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7);
            border-radius: 8px;
            z-index: 10000;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* The tutorial tooltip */
        #tutorial-tooltip {
            position: absolute;
            background: var(--bg-dark);
            border: 1px solid var(--primary);
            padding: 1.5rem;
            border-radius: var(--radius);
            color: white;
            width: 280px;
            z-index: 10001;
            box-shadow: 0 10px 25px rgba(0,0,0,0.5);
            pointer-events: auto;
        }

        .tutorial-btns {
            display: flex;
            justify-content: space-between;
            margin-top: 1rem;
        }



        /* Add this to your CSS for a special 'Call to Action' look in help */
        .btn-outline[onclick="launchTutorialFromHelp()"]:hover {
            background: rgba(239, 138, 255, 0.1); /* Subtle glow using highlight color */
            box-shadow: 0 0 15px rgba(239, 138, 255, 0.2);
        }


        .search-container{
            padding: 0rem 0.9rem 0rem 0.9rem !important
        }

        #vaultSearch {
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            color: var(--text-main);
            padding: 8px 12px;
            font-size: 0.9rem;
            transition: var(--transition);
            margin-top:0.9rem;
        }

        #vaultSearch:focus {
            outline: none;
            border-color: var(--primary);
            background: rgba(0, 0, 0, 0.3);
        }

        #clearSearch{
            position: absolute !important;
            right: 0px !important;
            top: 58% !important;
            transform: translateY(-50%) !important;
            background: none !important;
            border: medium !important;
            color: var(--text-muted) !important;
            cursor: pointer !important;
            display: block !important;
            font-size: 1.8rem !important;
        }

        #clearSearch:hover {
            color: var(--danger) !important;
        }




@media (max-width: 900px) {
    
        .view-container { 
            grid-template-columns: 1fr; 
        }

        aside {
            position: fixed;
            left: 0;
            top: 0;
            bottom: 0;
            margin-left: 0 !important; /* Forces margin to 0 so 'collapsed' doesn't break mobile */
            transform: translateX(-100%); /* Start off-screen */
            /*z-index: 1000;*/
        }


        /* When 'open' is added, slide it in */
        aside.open {
            transform: translateX(0);
        }


        /* Optional: Add a dim background when open on mobile */
        aside.open::before {
            content: "";
            position: fixed;
            left: 100%;
            top: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0,0,0,0.5);
        }

        .mobile-toggle { display: flex; }


        #masterKeyContainer{
            margin-bottom: 60px; /* to accomodate for hamburger mobile-button that operlaps UI elements */
        }


        /* Stack the inner toolbar elements vertically */
        .toolbar-inner {
            flex-direction: column !important;
            align-items: stretch !important;
            gap: 1rem;
        }

        /* Ensure the button container takes full width and wraps buttons if needed */
        .toolbar-inner > div:last-child {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr); /* Creates a 2x2 grid for buttons */
            gap: 0.5rem;
            width: 100%;
        }

        /* Make the 'New' button span both columns for prominence, or keep it 2x2 */
        .new-key-btn {
            grid-column: span 1; 
        }

        /* Remove the fixed margin-top from buttons that might look weird now */
        .toolbar-inner .btn-outline {
            margin: 0 !important;
            width: 100%;
        }


        .btn-tutorial{
            display: none;
        }
    
        .checkbox-grid {
            gap: 12px; /* Tighten gap on small screens */
        }

        .checkbox-item {
            flex: 1 1 40%; /* Allows two items per row on very small screens */
        }

    
        .help-aes-key{
            right:0px;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--border);
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            flex-shrink: 0;
        }

        #btn-start-interactive-tutorial{
            display: none;
        }

    
}

