/* --- Admin Editor Styles --- */
[contenteditable="true"] {
    outline: 2px dashed var(--primary);
    padding: 2px 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

[contenteditable="true"]:hover {
    background: rgba(153, 27, 27, 0.1);
}

[contenteditable="true"]:focus {
    background: rgba(153, 27, 27, 0.2);
    /* Prevent layout shift */
    min-width: 20px;
    display: inline-block;
}

#admin-toolbar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    gap: 15px;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.admin-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Outfit';
    font-size: 12px;
    transition: all 0.3s ease;
}

.admin-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.admin-btn.primary {
    background: var(--primary);
    border-color: var(--primary);
}

#admin-login-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 30px;
    background: transparent;
    cursor: default;
    z-index: 10000;
}

/* Theme Editor Sidebar */
#theme-editor,
#payment-generator {
    position: fixed;
    right: -400px;
    top: 100px;
    width: 350px;
    background: #080808;
    border: 1px solid rgba(153, 27, 27, 0.4);
    padding: 40px;
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
}

#theme-editor.active,
#payment-generator.active {
    right: 30px;
}

.theme-group {
    margin-bottom: 30px;
}

.theme-group h5 {
    font-family: 'Outfit';
    color: var(--primary);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
}

.theme-input-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.theme-input-wrap label {
    font-size: 14px;
    color: var(--text-sub);
}

.theme-color-input {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.theme-select {
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}