.child-window {

    position: absolute;

    z-index: 99999;

    background: #0f172a;

    border: 1px solid #334155;

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.45);

    display: flex;

    flex-direction: column;
}

.child-window-header {

    height: 42px;

    background: #111827;

    border-bottom: 1px solid #29303d;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 12px;

    cursor: move;

    user-select: none;
}

.child-window-title {

    color: white;

    font-size: 14px;

    font-weight: bold;
}

.child-window-close {

    border: none;

    background: transparent;

    color: #94a3b8;

    cursor: pointer;

    font-size: 16px;
}

.child-window-close:hover {

    color: #ef4444;
}

.child-window-body {

    flex: 1;

    padding: 14px;

    overflow: auto;

    color: white;
}

.form-group {

    display: flex;

    flex-direction: column;

    margin-bottom: 14px;
}

.form-group label {

    margin-bottom: 6px;

    color: #cbd5e1;

    font-size: 13px;
}

.form-group input {

    background: #111827;

    border: 1px solid #334155;

    color: white;

    border-radius: 6px;

    padding: 10px;
}



.form-group input[type="color"] {

    width: 60px;
    height: 40px;

    padding: 2px;

    background: transparent;

    border: 1px solid #334155;

    border-radius: 6px;

    cursor: pointer;

    appearance: auto;
    -webkit-appearance: auto;
}


.save-btn {

    padding: 10px 16px;

    background: #0ea5e9;

    border: none;

    border-radius: 6px;

    color: white;

    cursor: pointer;
}

.tabs {

    display: flex;

    gap: 6px;

    margin-bottom: 14px;

    border-bottom: 1px solid #29303d;

    padding-bottom: 10px;
}

.tab-btn {

    background: #111827;

    border: 1px solid #334155;

    color: #cbd5e1;

    padding: 8px 14px;

    border-radius: 6px;

    cursor: pointer;

    transition:
        background 0.2s,
        border-color 0.2s;
}

.tab-btn:hover {

    border-color: #5eead4;
}

.tab-btn.active {

    background: #0ea5e9;

    border-color: #0ea5e9;

    color: white;
}

.tab-content {

    padding-top: 6px;
}